#2431AF#2431AF

#2431AF is a dark, vivid blue. Relative luminance 0.057; OKLCH L 40.1% C 0.196 H 269.5°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#2431AF
RGBrgb(36, 49, 175)
HSLhsl(234, 66%, 41%)
HSVhsv(234, 79%, 69%)
CMYKcmyk(79.4%, 72%, 0%, 31.4%)
CIE-LABlab(28.55, 40.50, -67.77)
CIE-LCHlch(28.55, 78.95, 300.86°)
OKLaboklab(40.08% -0.0016 -0.1963)
OKLCHoklch(40.08% 0.196 269.5)
XYZxyz(9.5611, 5.6657, 41.1388)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2431AF #AFA224
analogous
#2477AF #2431AF #5C24AF
triadic
#2431AF #AF2431 #31AF24
tetradic
#2431AF #AF2477 #AFA224 #24AF5C
square
#2431AF #AF2477 #AFA224 #24AF5C
split-complementary
#2431AF #AF5C24 #77AF24
monochromatic
#0F1549 #1A237C #2431AF #3A48D6 #6D77E1

Accessibility & contrast

On white

9.84
#2431AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2431AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2431AF
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2431AF#FFFFFF#000000##FFFFFF
##2431AF1.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2431af;
/* rgb */ color: rgb(36, 49, 175);
/* oklch */ color: oklch(40.1% 0.196 269.5);
Tailwind
colors: {
  custom: {
    50: '#786ac8',
    500: '#2431af',
    950: '#000000',
  },
}
SCSS
$custom: #2431af;
$custom-light: #786ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#2431af",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 175
  },
  "hsl": {
    "h": 234.388,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.40077,
    "c": 0.19631,
    "h": 269.5
  },
  "luminance": 0.05667
}

Semantic roles & 50–950 ramp

primary
#2431AF
secondary
#C7BE68
accent
#D93FE9
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2431AF

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#2431AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva