#183254#183254

#183254 is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.069 H 255.9°. Best body text is #FFFFFF at 12.94:1 contrast (WCAG AA passes).

Color values

HEX#183254
RGBrgb(24, 50, 84)
HSLhsl(214, 56%, 21%)
HSVhsv(214, 71%, 33%)
CMYKcmyk(71.4%, 40.5%, 0%, 67.1%)
CIE-LABlab(20.50, 2.72, -23.62)
CIE-LCHlch(20.50, 23.77, 276.56°)
OKLaboklab(31.52% -0.0168 -0.0671)
OKLCHoklch(31.52% 0.069 255.9)
XYZxyz(3.1169, 3.1152, 8.8228)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#183254 #543A18
analogous
#185054 #183254 #1C1854
triadic
#183254 #541832 #325418
tetradic
#183254 #541850 #543A18 #18541C
square
#183254 #541850 #543A18 #18541C
split-complementary
#183254 #541C18 #505418
monochromatic
#070E18 #0A1624 #183254 #264E84 #336BB3

Accessibility & contrast

On white

12.94
#183254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#183254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #183254
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##183254#FFFFFF#000000##FFFFFF
##1832541.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233455
Deuteranopia (green-blind)
#1A2F53
Tritanopia (blue-blind)
#003A3F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #183254;
/* rgb */ color: rgb(24, 50, 84);
/* oklch */ color: oklch(31.5% 0.069 255.9);
Tailwind
colors: {
  custom: {
    50: '#5c6984',
    500: '#183254',
    950: '#000000',
  },
}
SCSS
$custom: #183254;
$custom-light: #5c6984;
$custom-dark: #000000;
JSON
{
  "hex": "#183254",
  "rgb": {
    "r": 24,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 214,
    "s": 55.556,
    "l": 21.176
  },
  "oklch": {
    "l": 0.31524,
    "c": 0.06917,
    "h": 255.9
  },
  "luminance": 0.03115
}

Semantic roles & 50–950 ramp

primary
#183254
secondary
#8B693D
accent
#9E49DF
background
#F5F6F8
surface
#E9EBEF
border
#C5C6CA
text
#04060B
muted
#797A7C

Preview Lab

Preview with #183254

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

Preview Lab → · Contrast checker → · Palette generator →

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