#243799#243799

#243799 is a dark, vivid blue. Relative luminance 0.054; OKLCH L 38.9% C 0.161 H 268.9°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#243799
RGBrgb(36, 55, 153)
HSLhsl(230, 62%, 37%)
HSVhsv(230, 76%, 60%)
CMYKcmyk(76.5%, 64.1%, 0%, 40%)
CIE-LABlab(27.86, 28.60, -55.61)
CIE-LCHlch(27.86, 62.53, 297.22°)
OKLaboklab(38.93% -0.003 -0.1608)
OKLCHoklch(38.93% 0.161 268.9)
XYZxyz(7.8415, 5.4065, 30.7611)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243799 #998624
analogous
#247299 #243799 #4B2499
triadic
#243799 #992437 #379924
tetradic
#243799 #992472 #998624 #24994B
square
#243799 #992472 #998624 #24994B
split-complementary
#243799 #994B24 #729924
monochromatic
#0D1336 #182567 #243799 #3049CB #5E72D9

Accessibility & contrast

On white

10.09
#243799 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#243799 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243799
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243799#FFFFFF#000000##FFFFFF
##2437991.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479C
Deuteranopia (green-blind)
#003C97
Tritanopia (blue-blind)
#005062
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #243799;
/* rgb */ color: rgb(36, 55, 153);
/* oklch */ color: oklch(38.9% 0.161 268.9);
Tailwind
colors: {
  custom: {
    50: '#726db8',
    500: '#243799',
    950: '#000000',
  },
}
SCSS
$custom: #243799;
$custom-light: #726db8;
$custom-dark: #000000;
JSON
{
  "hex": "#243799",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 153
  },
  "hsl": {
    "h": 230.256,
    "s": 61.905,
    "l": 37.059
  },
  "oklch": {
    "l": 0.38932,
    "c": 0.16079,
    "h": 268.9
  },
  "luminance": 0.05407
}

Semantic roles & 50–950 ramp

primary
#243799
secondary
#BEAE5B
accent
#CB43E5
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243799

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

Preview Lab → · Contrast checker → · Palette generator →

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