#243174#243174

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

Color values

HEX#243174
RGBrgb(36, 49, 116)
HSLhsl(230, 53%, 30%)
HSVhsv(230, 69%, 45%)
CMYKcmyk(69%, 57.8%, 0%, 54.5%)
CIE-LABlab(23.11, 18.49, -40.26)
CIE-LCHlch(23.11, 44.30, 294.67°)
OKLaboklab(34.42% 0.0016 -0.1158)
OKLCHoklch(34.42% 0.116 270.8)
XYZxyz(4.9772, 3.8322, 16.9970)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#243174 #746724
analogous
#245974 #243174 #3F2474
triadic
#243174 #742431 #317424
tetradic
#243174 #742459 #746724 #24743F
square
#243174 #742459 #746724 #24743F
split-complementary
#243174 #743F24 #597424
monochromatic
#070A17 #161D45 #243174 #3245A3 #4B5FC7

Accessibility & contrast

On white

11.89
#243174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#243174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #243174
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##243174#FFFFFF#000000##FFFFFF
##2431741.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #243174;
/* rgb */ color: rgb(36, 49, 116);
/* oklch */ color: oklch(34.4% 0.116 270.8);
Tailwind
colors: {
  custom: {
    50: '#69689d',
    500: '#243174',
    950: '#000000',
  },
}
SCSS
$custom: #243174;
$custom-light: #69689d;
$custom-dark: #000000;
JSON
{
  "hex": "#243174",
  "rgb": {
    "r": 36,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 230.25,
    "s": 52.632,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34421,
    "c": 0.11577,
    "h": 270.8
  },
  "luminance": 0.03833
}

Semantic roles & 50–950 ramp

primary
#243174
secondary
#A7984D
accent
#C54CDC
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #243174

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

Preview Lab → · Contrast checker → · Palette generator →

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