#243789#243789

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

Color values

HEX#243789
RGBrgb(36, 55, 137)
HSLhsl(229, 58%, 34%)
HSVhsv(229, 74%, 54%)
CMYKcmyk(73.7%, 59.9%, 0%, 46.3%)
CIE-LABlab(26.49, 22.46, -48.00)
CIE-LCHlch(26.49, 53.00, 295.08°)
OKLaboklab(37.48% -0.0029 -0.1384)
OKLCHoklch(37.48% 0.138 268.8)
XYZxyz(6.6075, 4.9129, 24.2621)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243789 #897624
analogous
#246A89 #243789 #442489
triadic
#243789 #892437 #378924
tetradic
#243789 #89246A #897624 #248944
square
#243789 #89246A #897624 #248944
split-complementary
#243789 #894424 #6A8924
monochromatic
#0B1028 #172459 #243789 #314AB9 #556DD2

Accessibility & contrast

On white

10.59
#243789 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #243789
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243789#FFFFFF#000000##FFFFFF
##2437891.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438C
Deuteranopia (green-blind)
#003A87
Tritanopia (blue-blind)
#004B5A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #243789;
/* rgb */ color: rgb(36, 55, 137);
/* oklch */ color: oklch(37.5% 0.138 268.8);
Tailwind
colors: {
  custom: {
    50: '#6e6dac',
    500: '#243789',
    950: '#000000',
  },
}
SCSS
$custom: #243789;
$custom-light: #6e6dac;
$custom-dark: #000000;
JSON
{
  "hex": "#243789",
  "rgb": {
    "r": 36,
    "g": 55,
    "b": 137
  },
  "hsl": {
    "h": 228.713,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37482,
    "c": 0.13847,
    "h": 268.8
  },
  "luminance": 0.04914
}

Semantic roles & 50–950 ramp

primary
#243789
secondary
#B7A452
accent
#C446E2
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #243789

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

Preview Lab → · Contrast checker → · Palette generator →

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