#12497F#12497F

#12497F is a dark, moderate cyan. Relative luminance 0.064; OKLCH L 40.1% C 0.106 H 252.1°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#12497F
RGBrgb(18, 73, 127)
HSLhsl(210, 75%, 28%)
HSVhsv(210, 86%, 50%)
CMYKcmyk(85.8%, 42.5%, 0%, 50.2%)
CIE-LABlab(30.46, 3.80, -35.40)
CIE-LCHlch(30.46, 35.60, 276.13°)
OKLaboklab(40.11% -0.0326 -0.1013)
OKLCHoklch(40.11% 0.106 252.1)
XYZxyz(6.4613, 6.4252, 20.9742)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12497F #7F4812
analogous
#127F7E #12497F #12127F
triadic
#12497F #7F1249 #497F12
tetradic
#12497F #7E127F #7F4812 #127F12
square
#12497F #7E127F #7F4812 #127F12
split-complementary
#12497F #7F1212 #7F7E12
monochromatic
#040F1B #0A2A49 #12497F #1A68B5 #2B87E1

Accessibility & contrast

On white

9.19
#12497F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#12497F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12497F
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12497F#FFFFFF#000000##FFFFFF
##12497F1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12497f;
/* rgb */ color: rgb(18, 73, 127);
/* oklch */ color: oklch(40.1% 0.106 252.1);
Tailwind
colors: {
  custom: {
    50: '#647ba4',
    500: '#12497f',
    950: '#000000',
  },
}
SCSS
$custom: #12497f;
$custom-light: #647ba4;
$custom-dark: #000000;
JSON
{
  "hex": "#12497f",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 127
  },
  "hsl": {
    "h": 209.725,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.40109,
    "c": 0.10644,
    "h": 252.1
  },
  "luminance": 0.06426
}

Semantic roles & 50–950 ramp

primary
#12497F
secondary
#B57638
accent
#9336F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06090F
muted
#7A7B7F

Preview Lab

Preview with #12497F

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

Preview Lab → · Contrast checker → · Palette generator →

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