#243998#243998

#243998 is a dark, vivid blue. Relative luminance 0.056; OKLCH L 39.2% C 0.157 H 268.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#243998
RGBrgb(36, 57, 152)
HSLhsl(229, 62%, 37%)
HSVhsv(229, 76%, 60%)
CMYKcmyk(76.3%, 62.5%, 0%, 40.4%)
CIE-LABlab(28.29, 26.88, -54.29)
CIE-LCHlch(28.29, 60.58, 296.34°)
OKLaboklab(39.22% -0.0043 -0.1569)
OKLCHoklch(39.22% 0.157 268.4)
XYZxyz(7.8562, 5.5675, 30.3603)
Luminance0.0557 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243998 #988324
analogous
#247398 #243998 #492498
triadic
#243998 #982439 #399824
tetradic
#243998 #982473 #988324 #249849
square
#243998 #982473 #988324 #249849
split-complementary
#243998 #984924 #739824
monochromatic
#0D1435 #182667 #243998 #304CC9 #5E74D9

Accessibility & contrast

On white

9.94
#243998 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#243998 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243998
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243998#FFFFFF#000000##FFFFFF
##2439981.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00489B
Deuteranopia (green-blind)
#003D96
Tritanopia (blue-blind)
#005163
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #243998;
/* rgb */ color: rgb(36, 57, 152);
/* oklch */ color: oklch(39.2% 0.157 268.4);
Tailwind
colors: {
  custom: {
    50: '#716fb7',
    500: '#243998',
    950: '#000000',
  },
}
SCSS
$custom: #243998;
$custom-light: #716fb7;
$custom-dark: #000000;
JSON
{
  "hex": "#243998",
  "rgb": {
    "r": 36,
    "g": 57,
    "b": 152
  },
  "hsl": {
    "h": 229.138,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.39224,
    "c": 0.15694,
    "h": 268.4
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#243998
secondary
#BEAC5A
accent
#C843E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243998

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

Preview Lab → · Contrast checker → · Palette generator →

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