#12497E#12497E

#12497E is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.0% C 0.105 H 251.8°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#12497E
RGBrgb(18, 73, 126)
HSLhsl(209, 75%, 28%)
HSVhsv(209, 86%, 49%)
CMYKcmyk(85.7%, 42.1%, 0%, 50.6%)
CIE-LABlab(30.40, 3.39, -34.88)
CIE-LCHlch(30.40, 35.04, 275.55°)
OKLaboklab(40.04% -0.0329 -0.0998)
OKLCHoklch(40.04% 0.105 251.8)
XYZxyz(6.3965, 6.3992, 20.6327)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12497E #7E4712
analogous
#127E7D #12497E #12137E
triadic
#12497E #7E1249 #497E12
tetradic
#12497E #7D127E #7E4712 #137E12
square
#12497E #7D127E #7E4712 #137E12
split-complementary
#12497E #7E1213 #7E7D12
monochromatic
#04101B #0A2A48 #12497E #1A68B4 #2A87E1

Accessibility & contrast

On white

9.21
#12497E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#12497E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12497E
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12497E#FFFFFF#000000##FFFFFF
##12497E1.009.212.289.21
#FFFFFF9.211.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4D80
Deuteranopia (green-blind)
#1D437D
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12497e;
/* rgb */ color: rgb(18, 73, 126);
/* oklch */ color: oklch(40.0% 0.105 251.8);
Tailwind
colors: {
  custom: {
    50: '#647ba4',
    500: '#12497e',
    950: '#000000',
  },
}
SCSS
$custom: #12497e;
$custom-light: #647ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#12497e",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 126
  },
  "hsl": {
    "h": 209.444,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.4004,
    "c": 0.10506,
    "h": 251.8
  },
  "luminance": 0.064
}

Semantic roles & 50–950 ramp

primary
#12497E
secondary
#B47538
accent
#9236F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #12497E

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

Preview Lab → · Contrast checker → · Palette generator →

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