#2431A8#2431A8

#2431A8 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 39.3% C 0.187 H 269.8°. Best body text is #FFFFFF at 10.10:1 contrast (WCAG AA passes).

Color values

HEX#2431A8
RGBrgb(36, 49, 168)
HSLhsl(234, 65%, 40%)
HSVhsv(234, 79%, 66%)
CMYKcmyk(78.6%, 70.8%, 0%, 34.1%)
CIE-LABlab(27.84, 38.01, -64.74)
CIE-LCHlch(27.84, 75.08, 300.42°)
OKLaboklab(39.35% -0.0007 -0.1875)
OKLCHoklch(39.35% 0.187 269.8)
XYZxyz(8.8913, 5.3978, 37.6115)
Luminance0.0540 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2431A8 #A89B24
analogous
#2473A8 #2431A8 #5924A8
triadic
#2431A8 #A82431 #31A824
tetradic
#2431A8 #A82473 #A89B24 #24A859
square
#2431A8 #A82473 #A89B24 #24A859
split-complementary
#2431A8 #A85924 #73A824
monochromatic
#0E1443 #192276 #2431A8 #3545D4 #6873DF

Accessibility & contrast

On white

10.10
#2431A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#2431A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2431A8
10.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2431A8#FFFFFF#000000##FFFFFF
##2431A81.0010.102.0810.10
#FFFFFF10.101.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AC
Deuteranopia (green-blind)
#003BA6
Tritanopia (blue-blind)
#005269
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2431a8;
/* rgb */ color: rgb(36, 49, 168);
/* oklch */ color: oklch(39.3% 0.187 269.8);
Tailwind
colors: {
  custom: {
    50: '#766ac3',
    500: '#2431a8',
    950: '#000000',
  },
}
SCSS
$custom: #2431a8;
$custom-light: #766ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#2431a8",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 168
  },
  "hsl": {
    "h": 234.091,
    "s": 64.706,
    "l": 40
  },
  "oklch": {
    "l": 0.39349,
    "c": 0.18749,
    "h": 269.8
  },
  "luminance": 0.05399
}

Semantic roles & 50–950 ramp

primary
#2431A8
secondary
#C4BB63
accent
#D740E8
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0613
muted
#7C7A82

Preview Lab

Preview with #2431A8

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

Preview Lab → · Contrast checker → · Palette generator →

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