#12395A#12395A

#12395A is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.073 H 247.7°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#12395A
RGBrgb(18, 57, 90)
HSLhsl(208, 67%, 21%)
HSVhsv(208, 80%, 35%)
CMYKcmyk(80%, 36.7%, 0%, 64.7%)
CIE-LABlab(22.97, -0.74, -23.68)
CIE-LCHlch(22.97, 23.69, 268.21°)
OKLaboklab(33.51% -0.0275 -0.0673)
OKLCHoklch(33.51% 0.073 247.7)
XYZxyz(3.5573, 3.7926, 10.2154)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12395A #5A3312
analogous
#125A57 #12395A #12155A
triadic
#12395A #5A1239 #395A12
tetradic
#12395A #57125A #5A3312 #155A12
square
#12395A #57125A #5A3312 #155A12
split-complementary
#12395A #5A1215 #5A5712
monochromatic
#05101A #081927 #12395A #1C598D #267AC0

Accessibility & contrast

On white

11.94
#12395A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#12395A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12395A
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12395A#FFFFFF#000000##FFFFFF
##12395A1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3A5B
Deuteranopia (green-blind)
#203459
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12395a;
/* rgb */ color: rgb(18, 57, 90);
/* oklch */ color: oklch(33.5% 0.073 247.7);
Tailwind
colors: {
  custom: {
    50: '#5b6f89',
    500: '#12395a',
    950: '#000000',
  },
}
SCSS
$custom: #12395a;
$custom-light: #5b6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#12395a",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 90
  },
  "hsl": {
    "h": 207.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.33511,
    "c": 0.07269,
    "h": 247.7
  },
  "luminance": 0.03793
}

Semantic roles & 50–950 ramp

primary
#12395A
secondary
#936035
accent
#8D3EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #12395A

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

Preview Lab → · Contrast checker → · Palette generator →

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