#12385E#12385E

#12385E is a dark, moderate cyan. Relative luminance 0.038; OKLCH L 33.5% C 0.080 H 251.5°. Best body text is #FFFFFF at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#12385E
RGBrgb(18, 56, 94)
HSLhsl(210, 68%, 22%)
HSVhsv(210, 81%, 37%)
CMYKcmyk(80.9%, 40.4%, 0%, 63.1%)
CIE-LABlab(22.88, 1.62, -26.45)
CIE-LCHlch(22.88, 26.50, 273.51°)
OKLaboklab(33.51% -0.0253 -0.0754)
OKLCHoklch(33.51% 0.08 251.5)
XYZxyz(3.6832, 3.7647, 11.1200)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12385E #5E3812
analogous
#125E5E #12385E #12125E
triadic
#12385E #5E1238 #385E12
tetradic
#12385E #5E125E #5E3812 #125E12
square
#12385E #5E125E #5E3812 #125E12
split-complementary
#12385E #5E1212 #5E5E12
monochromatic
#050F1A #08192B #12385E #1C5791 #2675C5

Accessibility & contrast

On white

11.98
#12385E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#12385E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12385E
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12385E#FFFFFF#000000##FFFFFF
##12385E1.0011.981.7511.98
#FFFFFF11.981.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#263A60
Deuteranopia (green-blind)
#1B335D
Tritanopia (blue-blind)
#004146
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #12385e;
/* rgb */ color: rgb(18, 56, 94);
/* oklch */ color: oklch(33.5% 0.080 251.5);
Tailwind
colors: {
  custom: {
    50: '#5c6e8c',
    500: '#12385e',
    950: '#000000',
  },
}
SCSS
$custom: #12385e;
$custom-light: #5c6e8c;
$custom-dark: #000000;
JSON
{
  "hex": "#12385e",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 94
  },
  "hsl": {
    "h": 210,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.33514,
    "c": 0.07953,
    "h": 251.5
  },
  "luminance": 0.03765
}

Semantic roles & 50–950 ramp

primary
#12385E
secondary
#966635
accent
#943DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05070C
muted
#797A7D

Preview Lab

Preview with #12385E

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

Preview Lab → · Contrast checker → · Palette generator →

#12385E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva