#243788#243788

#243788 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.4% C 0.137 H 268.8°. Best body text is #FFFFFF at 10.62:1 contrast (WCAG AA passes).

Color values

HEX#243788
RGBrgb(36, 55, 136)
HSLhsl(229, 58%, 34%)
HSVhsv(229, 74%, 53%)
CMYKcmyk(73.5%, 59.6%, 0%, 46.7%)
CIE-LABlab(26.40, 22.08, -47.51)
CIE-LCHlch(26.40, 52.39, 294.92°)
OKLaboklab(37.4% -0.0029 -0.137)
OKLCHoklch(37.4% 0.137 268.8)
XYZxyz(6.5361, 4.8843, 23.8861)
Luminance0.0488 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243788 #887524
analogous
#246988 #243788 #432488
triadic
#243788 #882437 #378824
tetradic
#243788 #882469 #887524 #248843
square
#243788 #882469 #887524 #248843
split-complementary
#243788 #884324 #698824
monochromatic
#0A1027 #172358 #243788 #314BB8 #556CD2

Accessibility & contrast

On white

10.62
#243788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#243788 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243788
10.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243788#FFFFFF#000000##FFFFFF
##2437881.0010.621.9810.62
#FFFFFF10.621.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438B
Deuteranopia (green-blind)
#003A86
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #243788;
/* rgb */ color: rgb(36, 55, 136);
/* oklch */ color: oklch(37.4% 0.137 268.8);
Tailwind
colors: {
  custom: {
    50: '#6d6dab',
    500: '#243788',
    950: '#000000',
  },
}
SCSS
$custom: #243788;
$custom-light: #6d6dab;
$custom-dark: #000000;
JSON
{
  "hex": "#243788",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 136
  },
  "hsl": {
    "h": 228.6,
    "s": 58.14,
    "l": 33.725
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.13703,
    "h": 268.8
  },
  "luminance": 0.04885
}

Semantic roles & 50–950 ramp

primary
#243788
secondary
#B6A352
accent
#C446E1
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #243788

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

Preview Lab → · Contrast checker → · Palette generator →

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