#12458C#12458C

#12458C is a dark, vivid cyan. Relative luminance 0.063; OKLCH L 40.1% C 0.130 H 258.1°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#12458C
RGBrgb(18, 69, 140)
HSLhsl(215, 77%, 31%)
HSVhsv(215, 87%, 55%)
CMYKcmyk(87.1%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.10, 11.96, -44.02)
CIE-LCHlch(30.10, 45.62, 285.19°)
OKLaboklab(40.11% -0.0267 -0.1268)
OKLCHoklch(40.11% 0.13 258.1)
XYZxyz(7.1095, 6.2774, 25.6428)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12458C #8C5912
analogous
#12828C #12458C #1C128C
triadic
#12458C #8C1245 #458C12
tetradic
#12458C #8C1282 #8C5912 #128C1C
square
#12458C #8C1282 #8C5912 #128C1C
split-complementary
#12458C #8C1C12 #828C12
monochromatic
#041020 #0B2A56 #12458C #1960C2 #347EE5

Accessibility & contrast

On white

9.31
#12458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#12458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12458C
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12458C#FFFFFF#000000##FFFFFF
##12458C1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#194D8F
Deuteranopia (green-blind)
#00428B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #12458c;
/* rgb */ color: rgb(18, 69, 140);
/* oklch */ color: oklch(40.1% 0.130 258.1);
Tailwind
colors: {
  custom: {
    50: '#6878ae',
    500: '#12458c',
    950: '#000000',
  },
}
SCSS
$custom: #12458c;
$custom-light: #6878ae;
$custom-dark: #000000;
JSON
{
  "hex": "#12458c",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 214.918,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.40113,
    "c": 0.12956,
    "h": 258.1
  },
  "luminance": 0.06278
}

Semantic roles & 50–950 ramp

primary
#12458C
secondary
#C08839
accent
#A434F4
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#070810
muted
#7A7B7F

Preview Lab

Preview with #12458C

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

Preview Lab → · Contrast checker → · Palette generator →

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