#12457F#12457F

#12457F is a dark, moderate cyan. Relative luminance 0.059; OKLCH L 39.1% C 0.111 H 254.8°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#12457F
RGBrgb(18, 69, 127)
HSLhsl(212, 75%, 28%)
HSVhsv(212, 86%, 50%)
CMYKcmyk(85.8%, 45.7%, 0%, 50.2%)
CIE-LABlab(29.20, 6.52, -37.42)
CIE-LCHlch(29.20, 37.98, 279.88°)
OKLaboklab(39.13% -0.0292 -0.1073)
OKLCHoklch(39.13% 0.111 254.8)
XYZxyz(6.2069, 5.9164, 20.8894)
Luminance0.0592 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12457F #7F4C12
analogous
#127B7F #12457F #16127F
triadic
#12457F #7F1245 #457F12
tetradic
#12457F #7F127B #7F4C12 #127F16
square
#12457F #7F127B #7F4C12 #127F16
split-complementary
#12457F #7F1612 #7B7F12
monochromatic
#040F1B #0A2849 #12457F #1A62B5 #2B80E1

Accessibility & contrast

On white

9.62
#12457F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#12457F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12457F
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12457F#FFFFFF#000000##FFFFFF
##12457F1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274A81
Deuteranopia (green-blind)
#10407E
Tritanopia (blue-blind)
#00535B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #12457f;
/* rgb */ color: rgb(18, 69, 127);
/* oklch */ color: oklch(39.1% 0.111 254.8);
Tailwind
colors: {
  custom: {
    50: '#6578a4',
    500: '#12457f',
    950: '#000000',
  },
}
SCSS
$custom: #12457f;
$custom-light: #6578a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12457f",
  "rgb": {
    "r": 18,
    "g": 69,
    "b": 127
  },
  "hsl": {
    "h": 211.927,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.39128,
    "c": 0.11122,
    "h": 254.8
  },
  "luminance": 0.05917
}

Semantic roles & 50–950 ramp

primary
#12457F
secondary
#B57A38
accent
#9A36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12457F

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

Preview Lab → · Contrast checker → · Palette generator →

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