#12375D#12375D

#12375D is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.2% C 0.079 H 252.0°. Best body text is #FFFFFF at 12.14:1 contrast (WCAG AA passes).

Color values

HEX#12375D
RGBrgb(18, 55, 93)
HSLhsl(210, 68%, 22%)
HSVhsv(210, 81%, 36%)
CMYKcmyk(80.6%, 40.9%, 0%, 63.5%)
CIE-LABlab(22.48, 1.90, -26.43)
CIE-LCHlch(22.48, 26.50, 274.11°)
OKLaboklab(33.18% -0.0245 -0.0753)
OKLCHoklch(33.18% 0.079 252)
XYZxyz(3.5907, 3.6509, 10.8693)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12375D #5D3812
analogous
#125D5D #12375D #13125D
triadic
#12375D #5D1237 #375D12
tetradic
#12375D #5D125D #5D3812 #125D13
square
#12375D #5D125D #5D3812 #125D13
split-complementary
#12375D #5D1312 #5D5D12
monochromatic
#050F1A #08192A #12375D #1C5590 #2674C4

Accessibility & contrast

On white

12.14
#12375D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#12375D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12375D
12.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12375D#FFFFFF#000000##FFFFFF
##12375D1.0012.141.7312.14
#FFFFFF12.141.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25395F
Deuteranopia (green-blind)
#1A335C
Tritanopia (blue-blind)
#004045
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12375d;
/* rgb */ color: rgb(18, 55, 93);
/* oklch */ color: oklch(33.2% 0.079 252.0);
Tailwind
colors: {
  custom: {
    50: '#5c6d8b',
    500: '#12375d',
    950: '#000000',
  },
}
SCSS
$custom: #12375d;
$custom-light: #5c6d8b;
$custom-dark: #000000;
JSON
{
  "hex": "#12375d",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 93
  },
  "hsl": {
    "h": 210.4,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33185,
    "c": 0.07923,
    "h": 252
  },
  "luminance": 0.03651
}

Semantic roles & 50–950 ramp

primary
#12375D
secondary
#956635
accent
#953DEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12375D

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

Preview Lab → · Contrast checker → · Palette generator →

#12375D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva