#12415B#12415B

#12415B is a dark, moderate cyan. Relative luminance 0.047; OKLCH L 35.7% C 0.067 H 237.5°. Best body text is #FFFFFF at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#12415B
RGBrgb(18, 65, 91)
HSLhsl(201, 67%, 21%)
HSVhsv(201, 80%, 36%)
CMYKcmyk(80.2%, 28.6%, 0%, 64.3%)
CIE-LABlab(25.76, -5.67, -19.97)
CIE-LCHlch(25.76, 20.75, 254.15°)
OKLaboklab(35.73% -0.0359 -0.0563)
OKLCHoklch(35.73% 0.067 237.5)
XYZxyz(4.0273, 4.6641, 10.5835)
Luminance0.0466 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12415B #5B2C12
analogous
#125B51 #12415B #121D5B
triadic
#12415B #5B1241 #415B12
tetradic
#12415B #51125B #5B2C12 #1D5B12
square
#12415B #51125B #5B2C12 #1D5B12
split-complementary
#12415B #5B121D #5B5112
monochromatic
#05121A #081D28 #12415B #1C658E #268AC1

Accessibility & contrast

On white

10.86
#12415B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12415B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12415B#FFFFFF#000000##FFFFFF
##12415B1.0010.861.9310.86
#FFFFFF10.861.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35415C
Deuteranopia (green-blind)
#2B3A5B
Tritanopia (blue-blind)
#00484A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #12415b;
/* rgb */ color: rgb(18, 65, 91);
/* oklch */ color: oklch(35.7% 0.067 237.5);
Tailwind
colors: {
  custom: {
    50: '#5c7589',
    500: '#12415b',
    950: '#000000',
  },
}
SCSS
$custom: #12415b;
$custom-light: #5c7589;
$custom-dark: #000000;
JSON
{
  "hex": "#12415b",
  "rgb": {
    "r": 18,
    "g": 65,
    "b": 91
  },
  "hsl": {
    "h": 201.37,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.35729,
    "c": 0.06683,
    "h": 237.5
  },
  "luminance": 0.04665
}

Semantic roles & 50–950 ramp

primary
#12415B
secondary
#935735
accent
#7B3EEA
background
#F5F7F8
surface
#E9EDF0
border
#C5C8CB
text
#04080B
muted
#797B7C

Preview Lab

Preview with #12415B

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

Preview Lab → · Contrast checker → · Palette generator →

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