#12437F#12437F

#12437F is a dark, moderate cyan. Relative luminance 0.057; OKLCH L 38.6% C 0.114 H 256.0°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#12437F
RGBrgb(18, 67, 127)
HSLhsl(213, 75%, 28%)
HSVhsv(213, 86%, 50%)
CMYKcmyk(85.8%, 47.2%, 0%, 50.2%)
CIE-LABlab(28.58, 7.89, -38.42)
CIE-LCHlch(28.58, 39.22, 281.61°)
OKLaboklab(38.64% -0.0275 -0.1103)
OKLCHoklch(38.64% 0.114 256)
XYZxyz(6.0859, 5.6745, 20.8491)
Luminance0.0568 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12437F #7F4E12
analogous
#12797F #12437F #18127F
triadic
#12437F #7F1243 #437F12
tetradic
#12437F #7F1279 #7F4E12 #127F18
square
#12437F #7F1279 #7F4E12 #127F18
split-complementary
#12437F #7F1812 #797F12
monochromatic
#040E1B #0A2749 #12437F #1A5FB5 #2B7CE1

Accessibility & contrast

On white

9.84
#12437F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.14
#12437F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12437F
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12437F#FFFFFF#000000##FFFFFF
##12437F1.009.842.149.84
#FFFFFF9.841.0021.001.00
#0000002.1421.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234981
Deuteranopia (green-blind)
#073F7E
Tritanopia (blue-blind)
#00515A
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #12437f;
/* rgb */ color: rgb(18, 67, 127);
/* oklch */ color: oklch(38.6% 0.114 256.0);
Tailwind
colors: {
  custom: {
    50: '#6576a4',
    500: '#12437f',
    950: '#000000',
  },
}
SCSS
$custom: #12437f;
$custom-light: #6576a4;
$custom-dark: #000000;
JSON
{
  "hex": "#12437f",
  "rgb": {
    "r": 18,
    "g": 67,
    "b": 127
  },
  "hsl": {
    "h": 213.028,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.38644,
    "c": 0.1137,
    "h": 256
  },
  "luminance": 0.05675
}

Semantic roles & 50–950 ramp

primary
#12437F
secondary
#B57D38
accent
#9D36F2
background
#F6F7FA
surface
#EBEDF4
border
#C6C8CE
text
#06080F
muted
#7A7B7F

Preview Lab

Preview with #12437F

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

Preview Lab → · Contrast checker → · Palette generator →

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