#12475C#12475C

#12475C is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.4% C 0.064 H 229.1°. Best body text is #FFFFFF at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#12475C
RGBrgb(18, 71, 92)
HSLhsl(197, 67%, 22%)
HSVhsv(197, 80%, 36%)
CMYKcmyk(80.4%, 22.8%, 0%, 63.9%)
CIE-LABlab(27.86, -9.08, -17.33)
CIE-LCHlch(27.86, 19.57, 242.34°)
OKLaboklab(37.43% -0.0422 -0.0487)
OKLCHoklch(37.43% 0.064 229.1)
XYZxyz(4.4337, 5.4073, 10.9332)
Luminance0.0541 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12475C #5C2712
analogous
#125C4C #12475C #12225C
triadic
#12475C #5C1247 #475C12
tetradic
#12475C #4C125C #5C2712 #225C12
square
#12475C #4C125C #5C2712 #225C12
split-complementary
#12475C #5C1222 #5C4C12
monochromatic
#05141A #081F29 #12475C #1C6F8F #2696C2

Accessibility & contrast

On white

10.09
#12475C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#12475C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12475C
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12475C#FFFFFF#000000##FFFFFF
##12475C1.0010.092.0810.09
#FFFFFF10.091.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465D
Deuteranopia (green-blind)
#323F5C
Tritanopia (blue-blind)
#004D4E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12475c;
/* rgb */ color: rgb(18, 71, 92);
/* oklch */ color: oklch(37.4% 0.064 229.1);
Tailwind
colors: {
  custom: {
    50: '#5d7a8a',
    500: '#12475c',
    950: '#000000',
  },
}
SCSS
$custom: #12475c;
$custom-light: #5d7a8a;
$custom-dark: #000000;
JSON
{
  "hex": "#12475c",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 92
  },
  "hsl": {
    "h": 197.027,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.37426,
    "c": 0.06442,
    "h": 229.1
  },
  "luminance": 0.05408
}

Semantic roles & 50–950 ramp

primary
#12475C
secondary
#945035
accent
#6F3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05090B
muted
#797B7C

Preview Lab

Preview with #12475C

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

Preview Lab → · Contrast checker → · Palette generator →

#12475C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva