#12395C#12395C

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

Color values

HEX#12395C
RGBrgb(18, 57, 92)
HSLhsl(208, 67%, 22%)
HSVhsv(208, 80%, 36%)
CMYKcmyk(80.4%, 38%, 0%, 63.9%)
CIE-LABlab(23.09, 0.09, -24.81)
CIE-LCHlch(23.09, 24.81, 270.22°)
OKLaboklab(33.64% -0.0269 -0.0706)
OKLCHoklch(33.64% 0.076 249.1)
XYZxyz(3.6436, 3.8271, 10.6698)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12395C #5C3512
analogous
#125C5A #12395C #12145C
triadic
#12395C #5C1239 #395C12
tetradic
#12395C #5A125C #5C3512 #145C12
square
#12395C #5A125C #5C3512 #145C12
split-complementary
#12395C #5C1214 #5C5A12
monochromatic
#05101A #081929 #12395C #1C598F #2678C2

Accessibility & contrast

On white

11.89
#12395C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12395C
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12395C#FFFFFF#000000##FFFFFF
##12395C1.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293B5D
Deuteranopia (green-blind)
#1E345B
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12395c;
/* rgb */ color: rgb(18, 57, 92);
/* oklch */ color: oklch(33.6% 0.076 249.1);
Tailwind
colors: {
  custom: {
    50: '#5c6f8a',
    500: '#12395c',
    950: '#000000',
  },
}
SCSS
$custom: #12395c;
$custom-light: #5c6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#12395c",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 92
  },
  "hsl": {
    "h": 208.378,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33642,
    "c": 0.07552,
    "h": 249.1
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

primary
#12395C
secondary
#946235
accent
#8F3EEA
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#04070C
muted
#797A7D

Preview Lab

Preview with #12395C

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

Preview Lab → · Contrast checker → · Palette generator →

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