#2431BC#2431BC

#2431BC is a dark, highly saturated blue. Relative luminance 0.062; OKLCH L 41.5% C 0.212 H 269.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#2431BC
RGBrgb(36, 49, 188)
HSLhsl(235, 68%, 44%)
HSVhsv(235, 81%, 74%)
CMYKcmyk(80.9%, 73.9%, 0%, 26.3%)
CIE-LABlab(29.91, 45.01, -73.25)
CIE-LCHlch(29.91, 85.98, 301.57°)
OKLaboklab(41.46% -0.0033 -0.2122)
OKLCHoklch(41.46% 0.212 269.1)
XYZxyz(10.8999, 6.2013, 48.1897)
Luminance0.0620 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2431BC #BCAF24
analogous
#247DBC #2431BC #6324BC
triadic
#2431BC #BC2431 #31BC24
tetradic
#2431BC #BC247D #BCAF24 #24BC63
square
#2431BC #BC247D #BCAF24 #24BC63
split-complementary
#2431BC #BC6324 #7DBC24
monochromatic
#101655 #1A2489 #2431BC #424FDB #767FE5

Accessibility & contrast

On white

9.37
#2431BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2431BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2431BC
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2431BC#FFFFFF#000000##FFFFFF
##2431BC1.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EC0
Deuteranopia (green-blind)
#003FBA
Tritanopia (blue-blind)
#005A74
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2431bc;
/* rgb */ color: rgb(36, 49, 188);
/* oklch */ color: oklch(41.5% 0.212 269.1);
Tailwind
colors: {
  custom: {
    50: '#7b6ad2',
    500: '#2431bc',
    950: '#000000',
  },
}
SCSS
$custom: #2431bc;
$custom-light: #7b6ad2;
$custom-dark: #000000;
JSON
{
  "hex": "#2431bc",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 234.868,
    "s": 67.857,
    "l": 43.922
  },
  "oklch": {
    "l": 0.41456,
    "c": 0.21227,
    "h": 269.1
  },
  "luminance": 0.06203
}

Semantic roles & 50–950 ramp

primary
#2431BC
secondary
#CCC470
accent
#DC3DEB
background
#F8F6FD
surface
#EFEBFA
border
#CAC6D3
text
#0B0614
muted
#7C7A83

Preview Lab

Preview with #2431BC

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

Preview Lab → · Contrast checker → · Palette generator →

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