#243171#243171

#243171 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.111 H 270.8°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#243171
RGBrgb(36, 49, 113)
HSLhsl(230, 52%, 29%)
HSVhsv(230, 68%, 44%)
CMYKcmyk(68.1%, 56.6%, 0%, 55.7%)
CIE-LABlab(22.87, 17.33, -38.72)
CIE-LCHlch(22.87, 42.42, 294.11°)
OKLaboklab(34.17% 0.0015 -0.1112)
OKLCHoklch(34.17% 0.111 270.8)
XYZxyz(4.8055, 3.7635, 16.0928)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243171 #716424
analogous
#245871 #243171 #3E2471
triadic
#243171 #712431 #317124
tetradic
#243171 #712458 #716424 #24713E
square
#243171 #712458 #716424 #24713E
split-complementary
#243171 #713E24 #587124
monochromatic
#070A17 #151D43 #243171 #33459F #4A5FC5

Accessibility & contrast

On white

11.98
#243171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#243171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243171
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243171#FFFFFF#000000##FFFFFF
##2431711.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043A73
Deuteranopia (green-blind)
#003370
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #243171;
/* rgb */ color: rgb(36, 49, 113);
/* oklch */ color: oklch(34.2% 0.111 270.8);
Tailwind
colors: {
  custom: {
    50: '#68689a',
    500: '#243171',
    950: '#000000',
  },
}
SCSS
$custom: #243171;
$custom-light: #68689a;
$custom-dark: #000000;
JSON
{
  "hex": "#243171",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 113
  },
  "hsl": {
    "h": 229.87,
    "s": 51.678,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3417,
    "c": 0.11124,
    "h": 270.8
  },
  "luminance": 0.03764
}

Semantic roles & 50–950 ramp

primary
#243171
secondary
#A4954D
accent
#C34DDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #243171

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

Preview Lab → · Contrast checker → · Palette generator →

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