#243172#243172

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

Color values

HEX#243172
RGBrgb(36, 49, 114)
HSLhsl(230, 52%, 29%)
HSVhsv(230, 68%, 45%)
CMYKcmyk(68.4%, 57%, 0%, 55.3%)
CIE-LABlab(22.95, 17.71, -39.23)
CIE-LCHlch(22.95, 43.05, 294.30°)
OKLaboklab(34.25% 0.0015 -0.1127)
OKLCHoklch(34.25% 0.113 270.8)
XYZxyz(4.8621, 3.7862, 16.3909)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243172 #726524
analogous
#245872 #243172 #3E2472
triadic
#243172 #722431 #317224
tetradic
#243172 #722458 #726524 #24723E
square
#243172 #722458 #726524 #24723E
split-complementary
#243172 #723E24 #587224
monochromatic
#070A17 #151D43 #243172 #3345A1 #4A5FC6

Accessibility & contrast

On white

11.95
#243172 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#243172 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243172
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243172#FFFFFF#000000##FFFFFF
##2431721.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023A74
Deuteranopia (green-blind)
#003371
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #243172;
/* rgb */ color: rgb(36, 49, 114);
/* oklch */ color: oklch(34.3% 0.113 270.8);
Tailwind
colors: {
  custom: {
    50: '#69689b',
    500: '#243172',
    950: '#000000',
  },
}
SCSS
$custom: #243172;
$custom-light: #69689b;
$custom-dark: #000000;
JSON
{
  "hex": "#243172",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 114
  },
  "hsl": {
    "h": 230,
    "s": 52,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34253,
    "c": 0.11276,
    "h": 270.8
  },
  "luminance": 0.03787
}

Semantic roles & 50–950 ramp

primary
#243172
secondary
#A5964D
accent
#C44CDB
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #243172

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

Preview Lab → · Contrast checker → · Palette generator →

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