#2431B1#2431B1

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

Color values

HEX#2431B1
RGBrgb(36, 49, 177)
HSLhsl(234, 66%, 42%)
HSVhsv(234, 80%, 69%)
CMYKcmyk(79.7%, 72.3%, 0%, 30.6%)
CIE-LABlab(28.76, 41.20, -68.63)
CIE-LCHlch(28.76, 80.04, 300.98°)
OKLaboklab(40.29% -0.0018 -0.1988)
OKLCHoklch(40.29% 0.199 269.5)
XYZxyz(9.7590, 5.7449, 42.1810)
Luminance0.0575 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2431B1 #B1A424
analogous
#2478B1 #2431B1 #5E24B1
triadic
#2431B1 #B12431 #31B124
tetradic
#2431B1 #B12478 #B1A424 #24B15E
square
#2431B1 #B12478 #B1A424 #24B15E
split-complementary
#2431B1 #B15E24 #78B124
monochromatic
#0F154B #1A237E #2431B1 #3B49D7 #6E79E1

Accessibility & contrast

On white

9.77
#2431B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2431B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2431B1
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2431B1#FFFFFF#000000##FFFFFF
##2431B11.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB5
Deuteranopia (green-blind)
#003DAF
Tritanopia (blue-blind)
#00566E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2431b1;
/* rgb */ color: rgb(36, 49, 177);
/* oklch */ color: oklch(40.3% 0.199 269.5);
Tailwind
colors: {
  custom: {
    50: '#786aca',
    500: '#2431b1',
    950: '#000000',
  },
}
SCSS
$custom: #2431b1;
$custom-light: #786aca;
$custom-dark: #000000;
JSON
{
  "hex": "#2431b1",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 177
  },
  "hsl": {
    "h": 234.468,
    "s": 66.197,
    "l": 41.765
  },
  "oklch": {
    "l": 0.40287,
    "c": 0.1988,
    "h": 269.5
  },
  "luminance": 0.05746
}

Semantic roles & 50–950 ramp

primary
#2431B1
secondary
#C8BF69
accent
#D93FE9
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2431B1

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

Preview Lab → · Contrast checker → · Palette generator →

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