#243371#243371

#243371 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.108 H 269.7°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#243371
RGBrgb(36, 51, 113)
HSLhsl(228, 52%, 29%)
HSVhsv(228, 68%, 44%)
CMYKcmyk(68.1%, 54.9%, 0%, 55.7%)
CIE-LABlab(23.45, 15.92, -37.78)
CIE-LCHlch(23.45, 41.00, 292.84°)
OKLaboklab(34.61% -0.0006 -0.1084)
OKLCHoklch(34.61% 0.108 269.7)
XYZxyz(4.8910, 3.9345, 16.1213)
Luminance0.0394 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243371 #716224
analogous
#245A71 #243371 #3C2471
triadic
#243371 #712433 #337124
tetradic
#243371 #71245A #716224 #24713C
square
#243371 #71245A #716224 #24713C
split-complementary
#243371 #713C24 #5A7124
monochromatic
#070A17 #151E43 #243371 #33489F #4A62C5

Accessibility & contrast

On white

11.75
#243371 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#243371 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243371
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243371#FFFFFF#000000##FFFFFF
##2433711.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3B73
Deuteranopia (green-blind)
#003570
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #243371;
/* rgb */ color: rgb(36, 51, 113);
/* oklch */ color: oklch(34.6% 0.108 269.7);
Tailwind
colors: {
  custom: {
    50: '#686a9a',
    500: '#243371',
    950: '#000000',
  },
}
SCSS
$custom: #243371;
$custom-light: #686a9a;
$custom-dark: #000000;
JSON
{
  "hex": "#243371",
  "rgb": {
    "r": 36,
    "g": 51,
    "b": 113
  },
  "hsl": {
    "h": 228.312,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.34607,
    "c": 0.10844,
    "h": 269.7
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#243371
secondary
#A4934D
accent
#BF4DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #243371

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

Preview Lab → · Contrast checker → · Palette generator →

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