#12395D#12395D

#12395D is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.7% C 0.077 H 249.8°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#12395D
RGBrgb(18, 57, 93)
HSLhsl(209, 68%, 22%)
HSVhsv(209, 81%, 36%)
CMYKcmyk(80.6%, 38.7%, 0%, 63.5%)
CIE-LABlab(23.15, 0.51, -25.37)
CIE-LCHlch(23.15, 25.37, 271.16°)
OKLaboklab(33.71% -0.0266 -0.0722)
OKLCHoklch(33.71% 0.077 249.8)
XYZxyz(3.6876, 3.8447, 10.9016)
Luminance0.0384 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12395D #5D3612
analogous
#125D5C #12395D #12145D
triadic
#12395D #5D1239 #395D12
tetradic
#12395D #5C125D #5D3612 #145D12
square
#12395D #5C125D #5D3612 #145D12
split-complementary
#12395D #5D1214 #5D5C12
monochromatic
#05101A #081A2A #12395D #1C5890 #2678C4

Accessibility & contrast

On white

11.87
#12395D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12395D
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12395D#FFFFFF#000000##FFFFFF
##12395D1.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283B5E
Deuteranopia (green-blind)
#1D345C
Tritanopia (blue-blind)
#004246
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12395d;
/* rgb */ color: rgb(18, 57, 93);
/* oklch */ color: oklch(33.7% 0.077 249.8);
Tailwind
colors: {
  custom: {
    50: '#5c6f8b',
    500: '#12395d',
    950: '#000000',
  },
}
SCSS
$custom: #12395d;
$custom-light: #5c6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#12395d",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 93
  },
  "hsl": {
    "h": 208.8,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.33709,
    "c": 0.07694,
    "h": 249.8
  },
  "luminance": 0.03845
}

Semantic roles & 50–950 ramp

primary
#12395D
secondary
#956335
accent
#903DEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12395D

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

Preview Lab → · Contrast checker → · Palette generator →

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