#183970#183970

#183970 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.103 H 260.0°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#183970
RGBrgb(24, 57, 112)
HSLhsl(218, 65%, 27%)
HSVhsv(218, 79%, 44%)
CMYKcmyk(78.6%, 49.1%, 0%, 56.1%)
CIE-LABlab(24.61, 9.31, -35.31)
CIE-LCHlch(24.61, 36.52, 284.77°)
OKLaboklab(35.3% -0.0178 -0.1013)
OKLCHoklch(35.3% 0.103 260)
XYZxyz(4.7634, 4.2898, 15.9031)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183970 #704F18
analogous
#186570 #183970 #231870
triadic
#183970 #701839 #397018
tetradic
#183970 #701865 #704F18 #187023
square
#183970 #701865 #704F18 #187023
split-complementary
#183970 #702318 #657018
monochromatic
#050D19 #0D1F3E #183970 #2353A2 #306DD3

Accessibility & contrast

On white

11.30
#183970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#183970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183970
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183970#FFFFFF#000000##FFFFFF
##1839701.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3F72
Deuteranopia (green-blind)
#05376F
Tritanopia (blue-blind)
#00464F
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #183970;
/* rgb */ color: rgb(24, 57, 112);
/* oklch */ color: oklch(35.3% 0.103 260.0);
Tailwind
colors: {
  custom: {
    50: '#636e99',
    500: '#183970',
    950: '#000000',
  },
}
SCSS
$custom: #183970;
$custom-light: #636e99;
$custom-dark: #000000;
JSON
{
  "hex": "#183970",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 112
  },
  "hsl": {
    "h": 217.5,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.35302,
    "c": 0.10287,
    "h": 260
  },
  "luminance": 0.0429
}

Semantic roles & 50–950 ramp

primary
#183970
secondary
#A57F3E
accent
#A940E8
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #183970

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

Preview Lab → · Contrast checker → · Palette generator →

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