#12385B#12385B

#12385B is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.3% C 0.075 H 249.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#12385B
RGBrgb(18, 56, 91)
HSLhsl(209, 67%, 21%)
HSVhsv(209, 80%, 36%)
CMYKcmyk(80.2%, 38.5%, 0%, 64.3%)
CIE-LABlab(22.70, 0.36, -24.78)
CIE-LCHlch(22.70, 24.78, 270.84°)
OKLaboklab(33.31% -0.0262 -0.0705)
OKLCHoklch(33.31% 0.075 249.6)
XYZxyz(3.5512, 3.7119, 10.4248)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12385B #5B3512
analogous
#125B5A #12385B #12145B
triadic
#12385B #5B1238 #385B12
tetradic
#12385B #5A125B #5B3512 #145B12
square
#12385B #5A125B #5B3512 #145B12
split-complementary
#12385B #5B1214 #5B5A12
monochromatic
#05101A #081928 #12385B #1C578E #2677C1

Accessibility & contrast

On white

12.05
#12385B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#12385B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12385B
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12385B#FFFFFF#000000##FFFFFF
##12385B1.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283A5C
Deuteranopia (green-blind)
#1D335A
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12385b;
/* rgb */ color: rgb(18, 56, 91);
/* oklch */ color: oklch(33.3% 0.075 249.6);
Tailwind
colors: {
  custom: {
    50: '#5c6e89',
    500: '#12385b',
    950: '#000000',
  },
}
SCSS
$custom: #12385b;
$custom-light: #5c6e89;
$custom-dark: #000000;
JSON
{
  "hex": "#12385b",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 91
  },
  "hsl": {
    "h": 208.767,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33312,
    "c": 0.07519,
    "h": 249.6
  },
  "luminance": 0.03712
}

Semantic roles & 50–950 ramp

primary
#12385B
secondary
#936235
accent
#903EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #12385B

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

Preview Lab → · Contrast checker → · Palette generator →

#12385B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva