#12395B#12395B

#12395B is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.6% C 0.074 H 248.4°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#12395B
RGBrgb(18, 57, 91)
HSLhsl(208, 67%, 21%)
HSVhsv(208, 80%, 36%)
CMYKcmyk(80.2%, 37.4%, 0%, 64.3%)
CIE-LABlab(23.03, -0.32, -24.25)
CIE-LCHlch(23.03, 24.25, 269.23°)
OKLaboklab(33.58% -0.0272 -0.0689)
OKLCHoklch(33.58% 0.074 248.4)
XYZxyz(3.6002, 3.8098, 10.4411)
Luminance0.0381 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12395B #5B3412
analogous
#125B59 #12395B #12155B
triadic
#12395B #5B1239 #395B12
tetradic
#12395B #59125B #5B3412 #155B12
square
#12395B #59125B #5B3412 #155B12
split-complementary
#12395B #5B1215 #5B5912
monochromatic
#05101A #081928 #12395B #1C598E #2679C1

Accessibility & contrast

On white

11.92
#12395B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12395B
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12395B#FFFFFF#000000##FFFFFF
##12395B1.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5C
Deuteranopia (green-blind)
#1F345A
Tritanopia (blue-blind)
#004145
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12395b;
/* rgb */ color: rgb(18, 57, 91);
/* oklch */ color: oklch(33.6% 0.074 248.4);
Tailwind
colors: {
  custom: {
    50: '#5c6f89',
    500: '#12395b',
    950: '#000000',
  },
}
SCSS
$custom: #12395b;
$custom-light: #5c6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#12395b",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 91
  },
  "hsl": {
    "h": 207.945,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.33577,
    "c": 0.0741,
    "h": 248.4
  },
  "luminance": 0.0381
}

Semantic roles & 50–950 ramp

primary
#12395B
secondary
#936135
accent
#8E3EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070B
muted
#797A7C

Preview Lab

Preview with #12395B

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

Preview Lab → · Contrast checker → · Palette generator →

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