#243791#243791

#243791 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.2% C 0.150 H 268.9°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).

Color values

HEX#243791
RGBrgb(36, 55, 145)
HSLhsl(230, 60%, 35%)
HSVhsv(230, 75%, 57%)
CMYKcmyk(75.2%, 62.1%, 0%, 43.1%)
CIE-LABlab(27.16, 25.55, -51.85)
CIE-LCHlch(27.16, 57.80, 296.23°)
OKLaboklab(38.2% -0.0029 -0.1497)
OKLCHoklch(38.2% 0.15 268.9)
XYZxyz(7.2028, 5.1510, 27.3972)
Luminance0.0515 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243791 #917E24
analogous
#246D91 #243791 #472491
triadic
#243791 #912437 #379124
tetradic
#243791 #91246D #917E24 #249147
square
#243791 #91246D #917E24 #249147
split-complementary
#243791 #914724 #6D9124
monochromatic
#0C122F #182460 #243791 #304AC2 #596FD6

Accessibility & contrast

On white

10.34
#243791 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#243791 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243791
10.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243791#FFFFFF#000000##FFFFFF
##2437911.0010.342.0310.34
#FFFFFF10.341.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004594
Deuteranopia (green-blind)
#003B8F
Tritanopia (blue-blind)
#004E5E
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #243791;
/* rgb */ color: rgb(36, 55, 145);
/* oklch */ color: oklch(38.2% 0.150 268.9);
Tailwind
colors: {
  custom: {
    50: '#706db2',
    500: '#243791',
    950: '#000000',
  },
}
SCSS
$custom: #243791;
$custom-light: #706db2;
$custom-dark: #000000;
JSON
{
  "hex": "#243791",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 145
  },
  "hsl": {
    "h": 229.541,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.38196,
    "c": 0.14976,
    "h": 268.9
  },
  "luminance": 0.05152
}

Semantic roles & 50–950 ramp

primary
#243791
secondary
#BAA956
accent
#C844E3
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#080711
muted
#7B7A80

Preview Lab

Preview with #243791

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

Preview Lab → · Contrast checker → · Palette generator →

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