#12385F#12385F

#12385F is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.081 H 252.0°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#12385F
RGBrgb(18, 56, 95)
HSLhsl(210, 68%, 22%)
HSVhsv(210, 81%, 37%)
CMYKcmyk(81.1%, 41.1%, 0%, 62.7%)
CIE-LABlab(22.94, 2.05, -27.01)
CIE-LCHlch(22.94, 27.09, 274.33°)
OKLaboklab(33.58% -0.025 -0.077)
OKLCHoklch(33.58% 0.081 252)
XYZxyz(3.7284, 3.7827, 11.3579)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12385F #5F3912
analogous
#125F5F #12385F #13125F
triadic
#12385F #5F1238 #385F12
tetradic
#12385F #5F125F #5F3912 #125F13
square
#12385F #5F125F #5F3912 #125F13
split-complementary
#12385F #5F1312 #5F5F12
monochromatic
#050F1A #081A2C #12385F #1C5692 #2575C6

Accessibility & contrast

On white

11.95
#12385F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#12385F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12385F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12385F#FFFFFF#000000##FFFFFF
##12385F1.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263B61
Deuteranopia (green-blind)
#1A335E
Tritanopia (blue-blind)
#004147
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12385f;
/* rgb */ color: rgb(18, 56, 95);
/* oklch */ color: oklch(33.6% 0.081 252.0);
Tailwind
colors: {
  custom: {
    50: '#5d6e8c',
    500: '#12385f',
    950: '#000000',
  },
}
SCSS
$custom: #12385f;
$custom-light: #5d6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12385f",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 95
  },
  "hsl": {
    "h": 210.39,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33583,
    "c": 0.08098,
    "h": 252
  },
  "luminance": 0.03783
}

Semantic roles & 50–950 ramp

primary
#12385F
secondary
#976736
accent
#953DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12385F

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

Preview Lab → · Contrast checker → · Palette generator →

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