#2431B0#2431B0

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

Color values

HEX#2431B0
RGBrgb(36, 49, 176)
HSLhsl(234, 66%, 42%)
HSVhsv(234, 80%, 69%)
CMYKcmyk(79.5%, 72.2%, 0%, 31%)
CIE-LABlab(28.66, 40.85, -68.20)
CIE-LCHlch(28.66, 79.50, 300.92°)
OKLaboklab(40.18% -0.0017 -0.1975)
OKLCHoklch(40.18% 0.198 269.5)
XYZxyz(9.6597, 5.7052, 41.6580)
Luminance0.0571 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2431B0 #B0A324
analogous
#2477B0 #2431B0 #5D24B0
triadic
#2431B0 #B02431 #31B024
tetradic
#2431B0 #B02477 #B0A324 #24B05D
square
#2431B0 #B02477 #B0A324 #24B05D
split-complementary
#2431B0 #B05D24 #77B024
monochromatic
#0F154A #1A237D #2431B0 #3A49D7 #6D78E1

Accessibility & contrast

On white

9.81
#2431B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#2431B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2431B0
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2431B0#FFFFFF#000000##FFFFFF
##2431B01.009.812.149.81
#FFFFFF9.811.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB4
Deuteranopia (green-blind)
#003DAE
Tritanopia (blue-blind)
#00556D
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2431b0;
/* rgb */ color: rgb(36, 49, 176);
/* oklch */ color: oklch(40.2% 0.198 269.5);
Tailwind
colors: {
  custom: {
    50: '#786ac9',
    500: '#2431b0',
    950: '#000000',
  },
}
SCSS
$custom: #2431b0;
$custom-light: #786ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#2431b0",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 176
  },
  "hsl": {
    "h": 234.429,
    "s": 66.038,
    "l": 41.569
  },
  "oklch": {
    "l": 0.40182,
    "c": 0.19756,
    "h": 269.5
  },
  "luminance": 0.05706
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2431B0

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

Preview Lab → · Contrast checker → · Palette generator →

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