#243796#243796

#243796 is a dark, vivid blue. Relative luminance 0.053; OKLCH L 38.7% C 0.157 H 268.9°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#243796
RGBrgb(36, 55, 150)
HSLhsl(230, 61%, 36%)
HSVhsv(230, 76%, 59%)
CMYKcmyk(76%, 63.3%, 0%, 41.2%)
CIE-LABlab(27.60, 27.46, -54.21)
CIE-LCHlch(27.60, 60.77, 296.87°)
OKLaboklab(38.65% -0.0029 -0.1567)
OKLCHoklch(38.65% 0.157 268.9)
XYZxyz(7.5969, 5.3086, 29.4725)
Luminance0.0531 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243796 #968324
analogous
#247096 #243796 #4A2496
triadic
#243796 #962437 #379624
tetradic
#243796 #962470 #968324 #24964A
square
#243796 #962470 #968324 #24964A
split-complementary
#243796 #964A24 #709624
monochromatic
#0C1333 #182565 #243796 #3049C7 #5C71D8

Accessibility & contrast

On white

10.19
#243796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#243796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243796
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243796#FFFFFF#000000##FFFFFF
##2437961.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#003C94
Tritanopia (blue-blind)
#004F61
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #243796;
/* rgb */ color: rgb(36, 55, 150);
/* oklch */ color: oklch(38.7% 0.157 268.9);
Tailwind
colors: {
  custom: {
    50: '#716db6',
    500: '#243796',
    950: '#000000',
  },
}
SCSS
$custom: #243796;
$custom-light: #716db6;
$custom-dark: #000000;
JSON
{
  "hex": "#243796",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 150
  },
  "hsl": {
    "h": 230,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.15668,
    "h": 268.9
  },
  "luminance": 0.05309
}

Semantic roles & 50–950 ramp

primary
#243796
secondary
#BDAC59
accent
#CA43E4
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243796

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

Preview Lab → · Contrast checker → · Palette generator →

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