#243989#243989

#243989 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.136 H 268.1°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#243989
RGBrgb(36, 57, 137)
HSLhsl(228, 58%, 34%)
HSVhsv(228, 74%, 54%)
CMYKcmyk(73.7%, 58.4%, 0%, 46.3%)
CIE-LABlab(27.04, 21.09, -47.10)
CIE-LCHlch(27.04, 51.61, 294.12°)
OKLaboklab(37.9% -0.0046 -0.1358)
OKLCHoklch(37.9% 0.136 268.1)
XYZxyz(6.7045, 5.1068, 24.2944)
Luminance0.0511 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243989 #897424
analogous
#246C89 #243989 #422489
triadic
#243989 #892439 #398924
tetradic
#243989 #89246C #897424 #248942
square
#243989 #89246C #897424 #248942
split-complementary
#243989 #894224 #6C8924
monochromatic
#0B1128 #172559 #243989 #314DB9 #556FD2

Accessibility & contrast

On white

10.39
#243989 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#243989 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243989
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243989#FFFFFF#000000##FFFFFF
##2439891.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00458C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004D5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #243989;
/* rgb */ color: rgb(36, 57, 137);
/* oklch */ color: oklch(37.9% 0.136 268.1);
Tailwind
colors: {
  custom: {
    50: '#6d6fac',
    500: '#243989',
    950: '#000000',
  },
}
SCSS
$custom: #243989;
$custom-light: #6d6fac;
$custom-dark: #000000;
JSON
{
  "hex": "#243989",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 137
  },
  "hsl": {
    "h": 227.525,
    "s": 58.382,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37895,
    "c": 0.13585,
    "h": 268.1
  },
  "luminance": 0.05107
}

Semantic roles & 50–950 ramp

primary
#243989
secondary
#B7A252
accent
#C146E2
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #243989

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

Preview Lab → · Contrast checker → · Palette generator →

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