#243158#243158

#243158 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.3% C 0.072 H 268.3°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#243158
RGBrgb(36, 49, 88)
HSLhsl(225, 42%, 24%)
HSVhsv(225, 59%, 35%)
CMYKcmyk(59.1%, 44.3%, 0%, 65.5%)
CIE-LABlab(21.12, 7.72, -25.25)
CIE-LCHlch(21.12, 26.40, 287.00°)
OKLaboklab(32.27% -0.0021 -0.0716)
OKLCHoklch(32.27% 0.072 268.3)
XYZxyz(3.5867, 3.2760, 9.6740)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243158 #584B24
analogous
#244B58 #243158 #312458
triadic
#243158 #582431 #315824
tetradic
#243158 #58244B #584B24 #245831
square
#243158 #58244B #584B24 #245831
split-complementary
#243158 #583124 #4B5824
monochromatic
#090C16 #12192D #243158 #364983 #4861AF

Accessibility & contrast

On white

12.69
#243158 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#243158 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243158
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243158#FFFFFF#000000##FFFFFF
##2431581.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21355A
Deuteranopia (green-blind)
#1B3157
Tritanopia (blue-blind)
#083940
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #243158;
/* rgb */ color: rgb(36, 49, 88);
/* oklch */ color: oklch(32.3% 0.072 268.3);
Tailwind
colors: {
  custom: {
    50: '#636887',
    500: '#243158',
    950: '#000000',
  },
}
SCSS
$custom: #243158;
$custom-light: #636887;
$custom-dark: #000000;
JSON
{
  "hex": "#243158",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 88
  },
  "hsl": {
    "h": 225,
    "s": 41.935,
    "l": 24.314
  },
  "oklch": {
    "l": 0.3227,
    "c": 0.07167,
    "h": 268.3
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#243158
secondary
#8C7C4C
accent
#B356D2
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#05060B
muted
#7A7A7C

Preview Lab

Preview with #243158

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

Preview Lab → · Contrast checker → · Palette generator →

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