#243151#243151

#243151 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 31.8% C 0.060 H 266.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#243151
RGBrgb(36, 49, 81)
HSLhsl(223, 38%, 23%)
HSVhsv(223, 56%, 32%)
CMYKcmyk(55.6%, 39.5%, 0%, 68.2%)
CIE-LABlab(20.70, 5.12, -21.26)
CIE-LCHlch(20.70, 21.87, 283.54°)
OKLaboklab(31.81% -0.0039 -0.06)
OKLCHoklch(31.81% 0.06 266.3)
XYZxyz(3.3106, 3.1656, 8.2195)
Luminance0.0317 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243151 #514424
analogous
#244751 #243151 #2D2451
triadic
#243151 #512431 #315124
tetradic
#243151 #512447 #514424 #24512D
square
#243151 #512447 #514424 #24512D
split-complementary
#243151 #512D24 #475124
monochromatic
#090D15 #111727 #243151 #374B7B #4A64A6

Accessibility & contrast

On white

12.86
#243151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#243151 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243151
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243151#FFFFFF#000000##FFFFFF
##2431511.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253452
Deuteranopia (green-blind)
#203050
Tritanopia (blue-blind)
#10383D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #243151;
/* rgb */ color: rgb(36, 49, 81);
/* oklch */ color: oklch(31.8% 0.060 266.3);
Tailwind
colors: {
  custom: {
    50: '#626882',
    500: '#243151',
    950: '#000000',
  },
}
SCSS
$custom: #243151;
$custom-light: #626882;
$custom-dark: #000000;
JSON
{
  "hex": "#243151",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 222.667,
    "s": 38.462,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31807,
    "c": 0.06012,
    "h": 266.3
  },
  "luminance": 0.03166
}

Semantic roles & 50–950 ramp

primary
#243151
secondary
#85744C
accent
#AD59CE
background
#F5F6F7
surface
#EAEBEE
border
#C6C6C9
text
#05060A
muted
#797A7C

Preview Lab

Preview with #243151

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

Preview Lab → · Contrast checker → · Palette generator →

#243151 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva