#243787#243787

#243787 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.3% C 0.136 H 268.7°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#243787
RGBrgb(36, 55, 135)
HSLhsl(228, 58%, 34%)
HSVhsv(228, 73%, 53%)
CMYKcmyk(73.3%, 59.3%, 0%, 47.1%)
CIE-LABlab(26.32, 21.69, -47.02)
CIE-LCHlch(26.32, 51.78, 294.76°)
OKLaboklab(37.31% -0.003 -0.1356)
OKLCHoklch(37.31% 0.136 268.7)
XYZxyz(6.4654, 4.8561, 23.5135)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243787 #877424
analogous
#246887 #243787 #422487
triadic
#243787 #872437 #378724
tetradic
#243787 #872468 #877424 #248742
square
#243787 #872468 #877424 #248742
split-complementary
#243787 #874224 #688724
monochromatic
#0A1026 #172357 #243787 #314BB7 #546CD1

Accessibility & contrast

On white

10.65
#243787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#243787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243787
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243787#FFFFFF#000000##FFFFFF
##2437871.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438A
Deuteranopia (green-blind)
#003A85
Tritanopia (blue-blind)
#004B59
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #243787;
/* rgb */ color: rgb(36, 55, 135);
/* oklch */ color: oklch(37.3% 0.136 268.7);
Tailwind
colors: {
  custom: {
    50: '#6d6dab',
    500: '#243787',
    950: '#000000',
  },
}
SCSS
$custom: #243787;
$custom-light: #6d6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#243787",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 135
  },
  "hsl": {
    "h": 228.485,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37308,
    "c": 0.1356,
    "h": 268.7
  },
  "luminance": 0.04857
}

Semantic roles & 50–950 ramp

primary
#243787
secondary
#B5A251
accent
#C347E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #243787

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

Preview Lab → · Contrast checker → · Palette generator →

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