#12375E#12375E

#12375E is a dark, moderate cyan. Relative luminance 0.037; OKLCH L 33.3% C 0.081 H 252.5°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#12375E
RGBrgb(18, 55, 94)
HSLhsl(211, 68%, 22%)
HSVhsv(211, 81%, 37%)
CMYKcmyk(80.9%, 41.5%, 0%, 63.1%)
CIE-LABlab(22.54, 2.32, -26.98)
CIE-LCHlch(22.54, 27.08, 274.92°)
OKLaboklab(33.25% -0.0242 -0.077)
OKLCHoklch(33.25% 0.081 252.5)
XYZxyz(3.6353, 3.6687, 11.1040)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12375E #5E3912
analogous
#125D5E #12375E #13125E
triadic
#12375E #5E1237 #375E12
tetradic
#12375E #5E125D #5E3912 #125E13
square
#12375E #5E125D #5E3912 #125E13
split-complementary
#12375E #5E1312 #5D5E12
monochromatic
#050F1A #08192B #12375E #1C5591 #2673C5

Accessibility & contrast

On white

12.11
#12375E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12375E
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12375E#FFFFFF#000000##FFFFFF
##12375E1.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#253A60
Deuteranopia (green-blind)
#19335D
Tritanopia (blue-blind)
#004046
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #12375e;
/* rgb */ color: rgb(18, 55, 94);
/* oklch */ color: oklch(33.3% 0.081 252.5);
Tailwind
colors: {
  custom: {
    50: '#5c6d8c',
    500: '#12375e',
    950: '#000000',
  },
}
SCSS
$custom: #12375e;
$custom-light: #5c6d8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12375e",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 94
  },
  "hsl": {
    "h": 210.789,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33254,
    "c": 0.0807,
    "h": 252.5
  },
  "luminance": 0.03669
}

Semantic roles & 50–950 ramp

primary
#12375E
secondary
#966735
accent
#963DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12375E

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

Preview Lab → · Contrast checker → · Palette generator →

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