#12415A#12415A

#12415A is a dark, moderate cyan. Relative luminance 0.046; OKLCH L 35.7% C 0.066 H 236.4°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#12415A
RGBrgb(18, 65, 90)
HSLhsl(201, 67%, 21%)
HSVhsv(201, 80%, 35%)
CMYKcmyk(80%, 27.8%, 0%, 64.7%)
CIE-LABlab(25.70, -6.07, -19.40)
CIE-LCHlch(25.70, 20.32, 252.63°)
OKLaboklab(35.67% -0.0363 -0.0547)
OKLCHoklch(35.67% 0.066 236.4)
XYZxyz(3.9845, 4.6469, 10.3578)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12415A #5A2B12
analogous
#125A4F #12415A #121D5A
triadic
#12415A #5A1241 #415A12
tetradic
#12415A #4F125A #5A2B12 #1D5A12
square
#12415A #4F125A #5A2B12 #1D5A12
split-complementary
#12415A #5A121D #5A4F12
monochromatic
#05121A #081C27 #12415A #1C668D #268BC0

Accessibility & contrast

On white

10.88
#12415A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#12415A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12415A
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12415A#FFFFFF#000000##FFFFFF
##12415A1.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415B
Deuteranopia (green-blind)
#2B3A5A
Tritanopia (blue-blind)
#00474A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12415a;
/* rgb */ color: rgb(18, 65, 90);
/* oklch */ color: oklch(35.7% 0.066 236.4);
Tailwind
colors: {
  custom: {
    50: '#5c7588',
    500: '#12415a',
    950: '#000000',
  },
}
SCSS
$custom: #12415a;
$custom-light: #5c7588;
$custom-dark: #000000;
JSON
{
  "hex": "#12415a",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 90
  },
  "hsl": {
    "h": 200.833,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.35671,
    "c": 0.06566,
    "h": 236.4
  },
  "luminance": 0.04647
}

Semantic roles & 50–950 ramp

primary
#12415A
secondary
#935635
accent
#7A3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #12415A

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

Preview Lab → · Contrast checker → · Palette generator →

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