#12395F#12395F

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

Color values

HEX#12395F
RGBrgb(18, 57, 95)
HSLhsl(210, 68%, 22%)
HSVhsv(210, 81%, 37%)
CMYKcmyk(81.1%, 40%, 0%, 62.7%)
CIE-LABlab(23.27, 1.35, -26.48)
CIE-LCHlch(23.27, 26.52, 272.92°)
OKLaboklab(33.84% -0.026 -0.0755)
OKLCHoklch(33.84% 0.08 251)
XYZxyz(3.7774, 3.8806, 11.3742)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12395F #5F3812
analogous
#125F5F #12395F #12135F
triadic
#12395F #5F1239 #395F12
tetradic
#12395F #5F125F #5F3812 #135F12
square
#12395F #5F125F #5F3812 #135F12
split-complementary
#12395F #5F1213 #5F5F12
monochromatic
#050F1A #081A2C #12395F #1C5892 #2577C6

Accessibility & contrast

On white

11.82
#12395F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#12395F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12395F
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12395F#FFFFFF#000000##FFFFFF
##12395F1.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#273B61
Deuteranopia (green-blind)
#1C345E
Tritanopia (blue-blind)
#004247
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12395f;
/* rgb */ color: rgb(18, 57, 95);
/* oklch */ color: oklch(33.8% 0.080 251.0);
Tailwind
colors: {
  custom: {
    50: '#5d6f8c',
    500: '#12395f',
    950: '#000000',
  },
}
SCSS
$custom: #12395f;
$custom-light: #5d6f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12395f",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 95
  },
  "hsl": {
    "h": 209.61,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.33844,
    "c": 0.07982,
    "h": 251
  },
  "luminance": 0.03881
}

Semantic roles & 50–950 ramp

primary
#12395F
secondary
#976636
accent
#933DEB
background
#F5F6F8
surface
#E9ECF0
border
#C5C7CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12395F

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

Preview Lab → · Contrast checker → · Palette generator →

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