#243F78#243F78

#243F78 is a dark, moderate blue. Relative luminance 0.053; OKLCH L 37.9% C 0.103 H 263.3°. Best body text is #FFFFFF at 10.21:1 contrast (WCAG AA passes).

Color values

HEX#243F78
RGBrgb(36, 63, 120)
HSLhsl(221, 54%, 31%)
HSVhsv(221, 70%, 47%)
CMYKcmyk(70%, 47.5%, 0%, 52.9%)
CIE-LABlab(27.53, 10.26, -35.67)
CIE-LCHlch(27.53, 37.11, 286.05°)
OKLaboklab(37.87% -0.012 -0.102)
OKLCHoklch(37.87% 0.103 263.3)
XYZxyz(5.8940, 5.2856, 18.4753)
Luminance0.0529 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243F78 #785D24
analogous
#246978 #243F78 #332478
triadic
#243F78 #78243F #3F7824
tetradic
#243F78 #782469 #785D24 #247833
square
#243F78 #782469 #785D24 #247833
split-complementary
#243F78 #783324 #697824
monochromatic
#080E1A #162649 #243F78 #3258A7 #4D75CA

Accessibility & contrast

On white

10.21
#243F78 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#243F78 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243F78
10.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243F78#FFFFFF#000000##FFFFFF
##243F781.0010.212.0610.21
#FFFFFF10.211.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23457A
Deuteranopia (green-blind)
#133D77
Tritanopia (blue-blind)
#004C55
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #243f78;
/* rgb */ color: rgb(36, 63, 120);
/* oklch */ color: oklch(37.9% 0.103 263.3);
Tailwind
colors: {
  custom: {
    50: '#69739f',
    500: '#243f78',
    950: '#000000',
  },
}
SCSS
$custom: #243f78;
$custom-light: #69739f;
$custom-dark: #000000;
JSON
{
  "hex": "#243f78",
  "rgb": {
    "r": 36,
    "g": 63,
    "b": 120
  },
  "hsl": {
    "h": 220.714,
    "s": 53.846,
    "l": 30.588
  },
  "oklch": {
    "l": 0.37873,
    "c": 0.10274,
    "h": 263.3
  },
  "luminance": 0.05286
}

Semantic roles & 50–950 ramp

primary
#243F78
secondary
#AB8D4D
accent
#AE4BDD
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #243F78

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

Preview Lab → · Contrast checker → · Palette generator →

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