#12468C#12468C

#12468C is a dark, vivid cyan. Relative luminance 0.064; OKLCH L 40.3% C 0.128 H 257.6°. Best body text is #FFFFFF at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#12468C
RGBrgb(18, 70, 140)
HSLhsl(214, 77%, 31%)
HSVhsv(214, 87%, 55%)
CMYKcmyk(87.1%, 50%, 0%, 45.1%)
CIE-LABlab(30.40, 11.27, -43.54)
CIE-LCHlch(30.40, 44.97, 284.51°)
OKLaboklab(40.35% -0.0275 -0.1253)
OKLCHoklch(40.35% 0.128 257.6)
XYZxyz(7.1715, 6.4015, 25.6635)
Luminance0.0640 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12468C #8C5812
analogous
#12838C #12468C #1B128C
triadic
#12468C #8C1246 #468C12
tetradic
#12468C #8C1283 #8C5812 #128C1B
square
#12468C #8C1283 #8C5812 #128C1B
split-complementary
#12468C #8C1B12 #838C12
monochromatic
#041020 #0B2B56 #12468C #1961C2 #347FE5

Accessibility & contrast

On white

9.21
#12468C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#12468C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12468C
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12468C#FFFFFF#000000##FFFFFF
##12468C1.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)
#1C4D8F
Deuteranopia (green-blind)
#00438B
Tritanopia (blue-blind)
#005762
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #12468c;
/* rgb */ color: rgb(18, 70, 140);
/* oklch */ color: oklch(40.3% 0.128 257.6);
Tailwind
colors: {
  custom: {
    50: '#6878ae',
    500: '#12468c',
    950: '#000000',
  },
}
SCSS
$custom: #12468c;
$custom-light: #6878ae;
$custom-dark: #000000;
JSON
{
  "hex": "#12468c",
  "rgb": {
    "r": 18,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 214.426,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40345,
    "c": 0.12829,
    "h": 257.6
  },
  "luminance": 0.06402
}

Semantic roles & 50–950 ramp

primary
#12468C
secondary
#C08739
accent
#A234F4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070910
muted
#7A7B7F

Preview Lab

Preview with #12468C

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

Preview Lab → · Contrast checker → · Palette generator →

#12468C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva