#12395E#12395E

#12395E is a dark, moderate cyan. Relative luminance 0.039; OKLCH L 33.8% C 0.078 H 250.4°. Best body text is #FFFFFF at 11.85:1 contrast (WCAG AA passes).

Color values

HEX#12395E
RGBrgb(18, 57, 94)
HSLhsl(209, 68%, 22%)
HSVhsv(209, 81%, 37%)
CMYKcmyk(80.9%, 39.4%, 0%, 63.1%)
CIE-LABlab(23.21, 0.93, -25.92)
CIE-LCHlch(23.21, 25.94, 272.05°)
OKLaboklab(33.78% -0.0263 -0.0738)
OKLCHoklch(33.78% 0.078 250.4)
XYZxyz(3.7322, 3.8626, 11.1364)
Luminance0.0386 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12395E #5E3712
analogous
#125E5D #12395E #12135E
triadic
#12395E #5E1239 #395E12
tetradic
#12395E #5D125E #5E3712 #135E12
square
#12395E #5D125E #5E3712 #135E12
split-complementary
#12395E #5E1213 #5E5D12
monochromatic
#05101A #081A2B #12395E #1C5891 #2677C5

Accessibility & contrast

On white

11.85
#12395E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#12395E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12395E
11.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12395E#FFFFFF#000000##FFFFFF
##12395E1.0011.851.7711.85
#FFFFFF11.851.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B60
Deuteranopia (green-blind)
#1C345D
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12395e;
/* rgb */ color: rgb(18, 57, 94);
/* oklch */ color: oklch(33.8% 0.078 250.4);
Tailwind
colors: {
  custom: {
    50: '#5c6f8c',
    500: '#12395e',
    950: '#000000',
  },
}
SCSS
$custom: #12395e;
$custom-light: #5c6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12395e",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 94
  },
  "hsl": {
    "h": 209.211,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33776,
    "c": 0.07838,
    "h": 250.4
  },
  "luminance": 0.03863
}

Semantic roles & 50–950 ramp

primary
#12395E
secondary
#966535
accent
#923DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12395E

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

Preview Lab → · Contrast checker → · Palette generator →

#12395E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva