#2431A7#2431A7

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

Color values

HEX#2431A7
RGBrgb(36, 49, 167)
HSLhsl(234, 65%, 40%)
HSVhsv(234, 78%, 65%)
CMYKcmyk(78.4%, 70.7%, 0%, 34.5%)
CIE-LABlab(27.74, 37.65, -64.31)
CIE-LCHlch(27.74, 74.52, 300.35°)
OKLaboklab(39.25% -0.0006 -0.1862)
OKLCHoklch(39.25% 0.186 269.8)
XYZxyz(8.7985, 5.3607, 37.1227)
Luminance0.0536 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2431A7 #A79A24
analogous
#2472A7 #2431A7 #5924A7
triadic
#2431A7 #A72431 #31A724
tetradic
#2431A7 #A72472 #A79A24 #24A759
square
#2431A7 #A72472 #A79A24 #24A759
split-complementary
#2431A7 #A75924 #72A724
monochromatic
#0E1342 #192275 #2431A7 #3545D3 #6773DE

Accessibility & contrast

On white

10.13
#2431A7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2431A7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2431A7
10.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2431A7#FFFFFF#000000##FFFFFF
##2431A71.0010.132.0710.13
#FFFFFF10.131.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048AB
Deuteranopia (green-blind)
#003BA5
Tritanopia (blue-blind)
#005268
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2431a7;
/* rgb */ color: rgb(36, 49, 167);
/* oklch */ color: oklch(39.2% 0.186 269.8);
Tailwind
colors: {
  custom: {
    50: '#7669c2',
    500: '#2431a7',
    950: '#000000',
  },
}
SCSS
$custom: #2431a7;
$custom-light: #7669c2;
$custom-dark: #000000;
JSON
{
  "hex": "#2431a7",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 167
  },
  "hsl": {
    "h": 234.046,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.39247,
    "c": 0.18621,
    "h": 269.8
  },
  "luminance": 0.05362
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2431A7

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

Preview Lab → · Contrast checker → · Palette generator →

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