#12488F#12488F

#12488F is a dark, vivid cyan. Relative luminance 0.067; OKLCH L 41.0% C 0.130 H 257.3°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#12488F
RGBrgb(18, 72, 143)
HSLhsl(214, 78%, 32%)
HSVhsv(214, 87%, 56%)
CMYKcmyk(87.4%, 49.7%, 0%, 43.9%)
CIE-LABlab(31.22, 11.14, -44.06)
CIE-LCHlch(31.22, 45.45, 284.19°)
OKLaboklab(41.04% -0.0285 -0.1268)
OKLCHoklch(41.04% 0.13 257.3)
XYZxyz(7.5229, 6.7455, 26.8868)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12488F #8F5912
analogous
#12878F #12488F #1B128F
triadic
#12488F #8F1248 #488F12
tetradic
#12488F #8F1287 #8F5912 #128F1B
square
#12488F #8F1287 #8F5912 #128F1B
split-complementary
#12488F #8F1B12 #878F12
monochromatic
#041122 #0B2D59 #12488F #1963C5 #3682E6

Accessibility & contrast

On white

8.94
#12488F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#12488F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12488F
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12488F#FFFFFF#000000##FFFFFF
##12488F1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4F92
Deuteranopia (green-blind)
#00448E
Tritanopia (blue-blind)
#005964
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #12488f;
/* rgb */ color: rgb(18, 72, 143);
/* oklch */ color: oklch(41.0% 0.130 257.3);
Tailwind
colors: {
  custom: {
    50: '#697ab0',
    500: '#12488f',
    950: '#000000',
  },
}
SCSS
$custom: #12488f;
$custom-light: #697ab0;
$custom-dark: #000000;
JSON
{
  "hex": "#12488f",
  "rgb": {
    "r": 18,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 214.08,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41041,
    "c": 0.12997,
    "h": 257.3
  },
  "luminance": 0.06746
}

Semantic roles & 50–950 ramp

primary
#12488F
secondary
#C3883A
accent
#A134F4
background
#F6F7FA
surface
#ECEDF5
border
#C7C8CF
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #12488F

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

Preview Lab → · Contrast checker → · Palette generator →

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