#183968#183968

#183968 is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.7% C 0.091 H 257.7°. Best body text is #FFFFFF at 11.51:1 contrast (WCAG AA passes).

Color values

HEX#183968
RGBrgb(24, 57, 104)
HSLhsl(215, 63%, 25%)
HSVhsv(215, 77%, 41%)
CMYKcmyk(76.9%, 45.2%, 0%, 59.2%)
CIE-LABlab(24.06, 6.00, -31.05)
CIE-LCHlch(24.06, 31.62, 280.93°)
OKLaboklab(34.71% -0.0194 -0.0888)
OKLCHoklch(34.71% 0.091 257.7)
XYZxyz(4.3376, 4.1194, 13.6605)
Luminance0.0412 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183968 #684718
analogous
#186168 #183968 #1F1868
triadic
#183968 #681839 #396818
tetradic
#183968 #681861 #684718 #18681F
square
#183968 #681861 #684718 #18681F
split-complementary
#183968 #681F18 #616818
monochromatic
#060E19 #0D1E36 #183968 #23549A #2F70CB

Accessibility & contrast

On white

11.51
#183968 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#183968 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183968
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183968#FFFFFF#000000##FFFFFF
##1839681.0011.511.8211.51
#FFFFFF11.511.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223D6A
Deuteranopia (green-blind)
#143667
Tritanopia (blue-blind)
#00444B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #183968;
/* rgb */ color: rgb(24, 57, 104);
/* oklch */ color: oklch(34.7% 0.091 257.7);
Tailwind
colors: {
  custom: {
    50: '#616e93',
    500: '#183968',
    950: '#000000',
  },
}
SCSS
$custom: #183968;
$custom-light: #616e93;
$custom-dark: #000000;
JSON
{
  "hex": "#183968",
  "rgb": {
    "r": 24,
    "g": 57,
    "b": 104
  },
  "hsl": {
    "h": 215.25,
    "s": 62.5,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34706,
    "c": 0.09088,
    "h": 257.7
  },
  "luminance": 0.0412
}

Semantic roles & 50–950 ramp

primary
#183968
secondary
#9E763E
accent
#A242E6
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05070D
muted
#7A7A7E

Preview Lab

Preview with #183968

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

Preview Lab → · Contrast checker → · Palette generator →

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