#12384E#12384E

#12384E is a dark, muted cyan. Relative luminance 0.035; OKLCH L 32.5% C 0.058 H 237.8°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#12384E
RGBrgb(18, 56, 78)
HSLhsl(202, 63%, 19%)
HSVhsv(202, 77%, 31%)
CMYKcmyk(76.9%, 28.2%, 0%, 69.4%)
CIE-LABlab(21.97, -4.97, -17.33)
CIE-LCHlch(21.97, 18.03, 253.98°)
OKLaboklab(32.5% -0.0307 -0.0488)
OKLCHoklch(32.5% 0.058 237.8)
XYZxyz(3.0382, 3.5067, 7.7230)
Luminance0.0351 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12384E #4E2812
analogous
#124E46 #12384E #121A4E
triadic
#12384E #4E1238 #384E12
tetradic
#12384E #46124E #4E2812 #1A4E12
square
#12384E #46124E #4E2812 #1A4E12
split-complementary
#12384E #4E121A #4E4612
monochromatic
#061219 #07141C #12384E #1D5C80 #297FB1

Accessibility & contrast

On white

12.34
#12384E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#12384E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12384E
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12384E#FFFFFF#000000##FFFFFF
##12384E1.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E384F
Deuteranopia (green-blind)
#25324E
Tritanopia (blue-blind)
#003E40
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #12384e;
/* rgb */ color: rgb(18, 56, 78);
/* oklch */ color: oklch(32.5% 0.058 237.8);
Tailwind
colors: {
  custom: {
    50: '#596e7f',
    500: '#12384e',
    950: '#000000',
  },
}
SCSS
$custom: #12384e;
$custom-light: #596e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12384e",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 78
  },
  "hsl": {
    "h": 202,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.325,
    "c": 0.05767,
    "h": 237.8
  },
  "luminance": 0.03507
}

Semantic roles & 50–950 ramp

primary
#12384E
secondary
#875335
accent
#7E42E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04070A
muted
#797A7C

Preview Lab

Preview with #12384E

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

Preview Lab → · Contrast checker → · Palette generator →

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