#12498E#12498E

#12498E is a dark, vivid cyan. Relative luminance 0.068; OKLCH L 41.2% C 0.127 H 256.6°. Best body text is #FFFFFF at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#12498E
RGBrgb(18, 73, 142)
HSLhsl(213, 78%, 31%)
HSVhsv(213, 87%, 56%)
CMYKcmyk(87.3%, 48.6%, 0%, 44.3%)
CIE-LABlab(31.45, 10.04, -43.07)
CIE-LCHlch(31.45, 44.23, 283.12°)
OKLaboklab(41.2% -0.0294 -0.1239)
OKLCHoklch(41.2% 0.127 256.6)
XYZxyz(7.5127, 6.8457, 26.5113)
Luminance0.0685 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12498E #8E5712
analogous
#12878E #12498E #19128E
triadic
#12498E #8E1249 #498E12
tetradic
#12498E #8E1287 #8E5712 #128E19
square
#12498E #8E1287 #8E5712 #128E19
split-complementary
#12498E #8E1912 #878E12
monochromatic
#041121 #0B2D58 #12498E #1965C4 #3583E5

Accessibility & contrast

On white

8.86
#12498E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#12498E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12498E
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12498E#FFFFFF#000000##FFFFFF
##12498E1.008.862.378.86
#FFFFFF8.861.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225091
Deuteranopia (green-blind)
#00458D
Tritanopia (blue-blind)
#005A64
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12498e;
/* rgb */ color: rgb(18, 73, 142);
/* oklch */ color: oklch(41.2% 0.127 256.6);
Tailwind
colors: {
  custom: {
    50: '#687baf',
    500: '#12498e',
    950: '#000000',
  },
}
SCSS
$custom: #12498e;
$custom-light: #687baf;
$custom-dark: #000000;
JSON
{
  "hex": "#12498e",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 142
  },
  "hsl": {
    "h": 213.387,
    "s": 77.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.41198,
    "c": 0.12732,
    "h": 256.6
  },
  "luminance": 0.06847
}

Semantic roles & 50–950 ramp

primary
#12498E
secondary
#C2863A
accent
#9F34F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #12498E

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

Preview Lab → · Contrast checker → · Palette generator →

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