#12498F#12498F

#12498F is a dark, vivid cyan. Relative luminance 0.069; OKLCH L 41.3% C 0.129 H 256.9°. Best body text is #FFFFFF at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#12498F
RGBrgb(18, 73, 143)
HSLhsl(214, 78%, 32%)
HSVhsv(214, 87%, 56%)
CMYKcmyk(87.4%, 49%, 0%, 43.9%)
CIE-LABlab(31.52, 10.46, -43.57)
CIE-LCHlch(31.52, 44.81, 283.49°)
OKLaboklab(41.27% -0.0292 -0.1253)
OKLCHoklch(41.27% 0.129 256.9)
XYZxyz(7.5881, 6.8759, 26.9085)
Luminance0.0688 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12498F #8F5812
analogous
#12888F #12498F #1A128F
triadic
#12498F #8F1249 #498F12
tetradic
#12498F #8F1288 #8F5812 #128F1A
square
#12498F #8F1288 #8F5812 #128F1A
split-complementary
#12498F #8F1A12 #888F12
monochromatic
#041222 #0B2D59 #12498F #1965C5 #3683E6

Accessibility & contrast

On white

8.84
#12498F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#12498F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12498F
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12498F#FFFFFF#000000##FFFFFF
##12498F1.008.842.388.84
#FFFFFF8.841.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205092
Deuteranopia (green-blind)
#00458E
Tritanopia (blue-blind)
#005A65
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #12498f;
/* rgb */ color: rgb(18, 73, 143);
/* oklch */ color: oklch(41.3% 0.129 256.9);
Tailwind
colors: {
  custom: {
    50: '#697bb0',
    500: '#12498f',
    950: '#000000',
  },
}
SCSS
$custom: #12498f;
$custom-light: #697bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#12498f",
  "rgb": {
    "r": 18,
    "g": 73,
    "b": 143
  },
  "hsl": {
    "h": 213.6,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41274,
    "c": 0.12871,
    "h": 256.9
  },
  "luminance": 0.06877
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #12498F

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

Preview Lab → · Contrast checker → · Palette generator →

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