#12475E#12475E

#12475E is a dark, moderate cyan. Relative luminance 0.054; OKLCH L 37.5% C 0.066 H 231.5°. Best body text is #FFFFFF at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#12475E
RGBrgb(18, 71, 94)
HSLhsl(198, 68%, 22%)
HSVhsv(198, 81%, 37%)
CMYKcmyk(80.9%, 24.5%, 0%, 63.1%)
CIE-LABlab(27.96, -8.30, -18.47)
CIE-LCHlch(27.96, 20.25, 245.79°)
OKLaboklab(37.53% -0.0414 -0.0519)
OKLCHoklch(37.53% 0.066 231.5)
XYZxyz(4.5223, 5.4427, 11.3997)
Luminance0.0544 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12475E #5E2912
analogous
#125E4F #12475E #12215E
triadic
#12475E #5E1247 #475E12
tetradic
#12475E #4F125E #5E2912 #215E12
square
#12475E #4F125E #5E2912 #215E12
split-complementary
#12475E #5E1221 #5E4F12
monochromatic
#05131A #08202B #12475E #1C6E91 #2695C5

Accessibility & contrast

On white

10.05
#12475E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#12475E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12475E
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12475E#FFFFFF#000000##FFFFFF
##12475E1.0010.052.0910.05
#FFFFFF10.051.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B465F
Deuteranopia (green-blind)
#313F5E
Tritanopia (blue-blind)
#004D4F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #12475e;
/* rgb */ color: rgb(18, 71, 94);
/* oklch */ color: oklch(37.5% 0.066 231.5);
Tailwind
colors: {
  custom: {
    50: '#5d7a8b',
    500: '#12475e',
    950: '#000000',
  },
}
SCSS
$custom: #12475e;
$custom-light: #5d7a8b;
$custom-dark: #000000;
JSON
{
  "hex": "#12475e",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 94
  },
  "hsl": {
    "h": 198.158,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.37534,
    "c": 0.06642,
    "h": 231.5
  },
  "luminance": 0.05443
}

Semantic roles & 50–950 ramp

primary
#12475E
secondary
#965335
accent
#723DEB
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #12475E

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

Preview Lab → · Contrast checker → · Palette generator →

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