#12475F#12475F

#12475F is a dark, moderate cyan. Relative luminance 0.055; OKLCH L 37.6% C 0.067 H 232.6°. Best body text is #FFFFFF at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#12475F
RGBrgb(18, 71, 95)
HSLhsl(199, 68%, 22%)
HSVhsv(199, 81%, 37%)
CMYKcmyk(81.1%, 25.3%, 0%, 62.7%)
CIE-LABlab(28.01, -7.91, -19.04)
CIE-LCHlch(28.01, 20.62, 247.42°)
OKLaboklab(37.59% -0.041 -0.0536)
OKLCHoklch(37.59% 0.067 232.6)
XYZxyz(4.5674, 5.4608, 11.6376)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12475F #5F2A12
analogous
#125F51 #12475F #12215F
triadic
#12475F #5F1247 #475F12
tetradic
#12475F #51125F #5F2A12 #215F12
square
#12475F #51125F #5F2A12 #215F12
split-complementary
#12475F #5F1221 #5F5112
monochromatic
#05131A #08212C #12475F #1C6D92 #2594C6

Accessibility & contrast

On white

10.04
#12475F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12475F
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12475F#FFFFFF#000000##FFFFFF
##12475F1.0010.042.0910.04
#FFFFFF10.041.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12475f;
/* rgb */ color: rgb(18, 71, 95);
/* oklch */ color: oklch(37.6% 0.067 232.6);
Tailwind
colors: {
  custom: {
    50: '#5d7a8c',
    500: '#12475f',
    950: '#000000',
  },
}
SCSS
$custom: #12475f;
$custom-light: #5d7a8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12475f",
  "rgb": {
    "r": 18,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 198.701,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.37589,
    "c": 0.06746,
    "h": 232.6
  },
  "luminance": 0.05461
}

Semantic roles & 50–950 ramp

primary
#12475F
secondary
#975436
accent
#733DEB
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05090C
muted
#797B7D

Preview Lab

Preview with #12475F

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

Preview Lab → · Contrast checker → · Palette generator →

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