#12415C#12415C

#12415C is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.8% C 0.068 H 238.5°. Best body text is #FFFFFF at 10.84:1 contrast (WCAG AA passes).

Color values

HEX#12415C
RGBrgb(18, 65, 92)
HSLhsl(202, 67%, 22%)
HSVhsv(202, 80%, 36%)
CMYKcmyk(80.4%, 29.3%, 0%, 63.9%)
CIE-LABlab(25.81, -5.27, -20.53)
CIE-LCHlch(25.81, 21.20, 255.62°)
OKLaboklab(35.79% -0.0356 -0.058)
OKLCHoklch(35.79% 0.068 238.5)
XYZxyz(4.0708, 4.6814, 10.8122)
Luminance0.0468 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12415C #5C2D12
analogous
#125C52 #12415C #121C5C
triadic
#12415C #5C1241 #415C12
tetradic
#12415C #52125C #5C2D12 #1C5C12
square
#12415C #52125C #5C2D12 #1C5C12
split-complementary
#12415C #5C121C #5C5212
monochromatic
#05121A #081D29 #12415C #1C658F #2689C2

Accessibility & contrast

On white

10.84
#12415C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#12415C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12415C
10.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12415C#FFFFFF#000000##FFFFFF
##12415C1.0010.841.9410.84
#FFFFFF10.841.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#2A3A5C
Tritanopia (blue-blind)
#00484A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12415c;
/* rgb */ color: rgb(18, 65, 92);
/* oklch */ color: oklch(35.8% 0.068 238.5);
Tailwind
colors: {
  custom: {
    50: '#5c758a',
    500: '#12415c',
    950: '#000000',
  },
}
SCSS
$custom: #12415c;
$custom-light: #5c758a;
$custom-dark: #000000;
JSON
{
  "hex": "#12415c",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 92
  },
  "hsl": {
    "h": 201.892,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.35787,
    "c": 0.06803,
    "h": 238.5
  },
  "luminance": 0.04682
}

Semantic roles & 50–950 ramp

primary
#12415C
secondary
#945835
accent
#7D3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#05080B
muted
#797B7C

Preview Lab

Preview with #12415C

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

Preview Lab → · Contrast checker → · Palette generator →

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