#12475B#12475B

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

Color values

HEX#12475B
RGBrgb(18, 71, 91)
HSLhsl(196, 67%, 21%)
HSVhsv(196, 80%, 36%)
CMYKcmyk(80.2%, 22%, 0%, 64.3%)
CIE-LABlab(27.82, -9.47, -16.76)
CIE-LCHlch(27.82, 19.25, 240.53°)
OKLaboklab(37.37% -0.0426 -0.047)
OKLCHoklch(37.37% 0.063 227.8)
XYZxyz(4.3902, 5.3899, 10.7045)
Luminance0.0539 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12475B #5B2612
analogous
#125B4B #12475B #12235B
triadic
#12475B #5B1247 #475B12
tetradic
#12475B #4B125B #5B2612 #235B12
square
#12475B #4B125B #5B2612 #235B12
split-complementary
#12475B #5B1223 #5B4B12
monochromatic
#05141A #081F28 #12475B #1C6F8E #2697C1

Accessibility & contrast

On white

10.11
#12475B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12475B
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12475B#FFFFFF#000000##FFFFFF
##12475B1.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C465C
Deuteranopia (green-blind)
#333F5B
Tritanopia (blue-blind)
#004D4E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12475b;
/* rgb */ color: rgb(18, 71, 91);
/* oklch */ color: oklch(37.4% 0.063 227.8);
Tailwind
colors: {
  custom: {
    50: '#5c7a89',
    500: '#12475b',
    950: '#000000',
  },
}
SCSS
$custom: #12475b;
$custom-light: #5c7a89;
$custom-dark: #000000;
JSON
{
  "hex": "#12475b",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 91
  },
  "hsl": {
    "h": 196.438,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.37373,
    "c": 0.06347,
    "h": 227.8
  },
  "luminance": 0.0539
}

Semantic roles & 50–950 ramp

primary
#12475B
secondary
#934F35
accent
#6D3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05090B
muted
#797B7C

Preview Lab

Preview with #12475B

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

Preview Lab → · Contrast checker → · Palette generator →

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