#243F97#243F97

#243F97 is a dark, vivid blue. Relative luminance 0.062; OKLCH L 40.3% C 0.148 H 266.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#243F97
RGBrgb(36, 63, 151)
HSLhsl(226, 61%, 37%)
HSVhsv(226, 76%, 59%)
CMYKcmyk(76.2%, 58.3%, 0%, 40.8%)
CIE-LABlab(29.82, 22.43, -51.19)
CIE-LCHlch(29.82, 55.89, 293.66°)
OKLaboklab(40.34% -0.0087 -0.1477)
OKLCHoklch(40.34% 0.148 266.6)
XYZxyz(8.0890, 6.1636, 30.0355)
Luminance0.0616 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243F97 #977C24
analogous
#247997 #243F97 #432497
triadic
#243F97 #97243F #3F9724
tetradic
#243F97 #972479 #977C24 #249743
square
#243F97 #972479 #977C24 #249743
split-complementary
#243F97 #974324 #799724
monochromatic
#0C1634 #182A66 #243F97 #3054C8 #5D7AD8

Accessibility & contrast

On white

9.41
#243F97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#243F97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243F97
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243F97#FFFFFF#000000##FFFFFF
##243F971.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004C9A
Deuteranopia (green-blind)
#004195
Tritanopia (blue-blind)
#005564
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #243f97;
/* rgb */ color: rgb(36, 63, 151);
/* oklch */ color: oklch(40.3% 0.148 266.6);
Tailwind
colors: {
  custom: {
    50: '#7073b6',
    500: '#243f97',
    950: '#000000',
  },
}
SCSS
$custom: #243f97;
$custom-light: #7073b6;
$custom-dark: #000000;
JSON
{
  "hex": "#243f97",
  "rgb": {
    "r": 36,
    "g": 63,
    "b": 151
  },
  "hsl": {
    "h": 225.913,
    "s": 61.497,
    "l": 36.667
  },
  "oklch": {
    "l": 0.40336,
    "c": 0.14795,
    "h": 266.6
  },
  "luminance": 0.06164
}

Semantic roles & 50–950 ramp

primary
#243F97
secondary
#BDA65A
accent
#BF43E5
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #243F97

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

Preview Lab → · Contrast checker → · Palette generator →

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