#243F87#243F87

#243F87 is a dark, vivid blue. Relative luminance 0.057; OKLCH L 39.0% C 0.125 H 265.5°. Best body text is #FFFFFF at 9.83:1 contrast (WCAG AA passes).

Color values

HEX#243F87
RGBrgb(36, 63, 135)
HSLhsl(224, 58%, 34%)
HSVhsv(224, 73%, 53%)
CMYKcmyk(73.3%, 53.3%, 0%, 47.1%)
CIE-LABlab(28.59, 16.16, -43.35)
CIE-LCHlch(28.59, 46.26, 290.45°)
OKLaboklab(39.02% -0.0099 -0.1246)
OKLCHoklch(39.02% 0.125 265.5)
XYZxyz(6.8767, 5.6786, 23.6506)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243F87 #876C24
analogous
#247087 #243F87 #3A2487
triadic
#243F87 #87243F #3F8724
tetradic
#243F87 #872470 #876C24 #24873A
square
#243F87 #872470 #876C24 #24873A
split-complementary
#243F87 #873A24 #708724
monochromatic
#0A1226 #172857 #243F87 #3156B7 #5476D1

Accessibility & contrast

On white

9.83
#243F87 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#243F87 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243F87
9.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243F87#FFFFFF#000000##FFFFFF
##243F871.009.832.149.83
#FFFFFF9.831.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10488A
Deuteranopia (green-blind)
#003F86
Tritanopia (blue-blind)
#00505C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #243f87;
/* rgb */ color: rgb(36, 63, 135);
/* oklch */ color: oklch(39.0% 0.125 265.5);
Tailwind
colors: {
  custom: {
    50: '#6d73aa',
    500: '#243f87',
    950: '#000000',
  },
}
SCSS
$custom: #243f87;
$custom-light: #6d73aa;
$custom-dark: #000000;
JSON
{
  "hex": "#243f87",
  "rgb": {
    "r": 36,
    "g": 63,
    "b": 135
  },
  "hsl": {
    "h": 223.636,
    "s": 57.895,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39015,
    "c": 0.12502,
    "h": 265.5
  },
  "luminance": 0.05679
}

Semantic roles & 50–950 ramp

primary
#243F87
secondary
#B59A51
accent
#B747E1
background
#F6F6FA
surface
#ECECF4
border
#C7C7CE
text
#080810
muted
#7A7B7F

Preview Lab

Preview with #243F87

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

Preview Lab → · Contrast checker → · Palette generator →

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