#243D98#243D98

#243D98 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 40.0% C 0.152 H 267.3°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#243D98
RGBrgb(36, 61, 152)
HSLhsl(227, 62%, 37%)
HSVhsv(227, 76%, 60%)
CMYKcmyk(76.3%, 59.9%, 0%, 40.4%)
CIE-LABlab(29.36, 24.17, -52.55)
CIE-LCHlch(29.36, 57.85, 294.70°)
OKLaboklab(40.02% -0.0072 -0.1517)
OKLCHoklch(40.02% 0.152 267.3)
XYZxyz(8.0618, 5.9787, 30.4288)
Luminance0.0598 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243D98 #987F24
analogous
#247798 #243D98 #452498
triadic
#243D98 #98243D #3D9824
tetradic
#243D98 #982477 #987F24 #249845
square
#243D98 #982477 #987F24 #249845
split-complementary
#243D98 #984524 #779824
monochromatic
#0D1535 #182967 #243D98 #3051C9 #5E78D9

Accessibility & contrast

On white

9.56
#243D98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#243D98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243D98
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243D98#FFFFFF#000000##FFFFFF
##243D981.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004B9B
Deuteranopia (green-blind)
#004096
Tritanopia (blue-blind)
#005464
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #243d98;
/* rgb */ color: rgb(36, 61, 152);
/* oklch */ color: oklch(40.0% 0.152 267.3);
Tailwind
colors: {
  custom: {
    50: '#7172b7',
    500: '#243d98',
    950: '#000000',
  },
}
SCSS
$custom: #243d98;
$custom-light: #7172b7;
$custom-dark: #000000;
JSON
{
  "hex": "#243d98",
  "rgb": {
    "r": 36,
    "g": 61,
    "b": 152
  },
  "hsl": {
    "h": 227.069,
    "s": 61.702,
    "l": 36.863
  },
  "oklch": {
    "l": 0.40016,
    "c": 0.1519,
    "h": 267.3
  },
  "luminance": 0.0598
}

Semantic roles & 50–950 ramp

primary
#243D98
secondary
#BEA85A
accent
#C243E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #243D98

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

Preview Lab → · Contrast checker → · Palette generator →

#243D98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva