#12374B#12374B

#12374B is a dark, muted cyan. Relative luminance 0.034; OKLCH L 32.0% C 0.055 H 235.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#12374B
RGBrgb(18, 55, 75)
HSLhsl(201, 61%, 18%)
HSVhsv(201, 76%, 29%)
CMYKcmyk(76%, 26.7%, 0%, 70.6%)
CIE-LABlab(21.46, -5.51, -16.11)
CIE-LCHlch(21.46, 17.03, 251.11°)
OKLaboklab(32.05% -0.0307 -0.0453)
OKLCHoklch(32.05% 0.055 235.8)
XYZxyz(2.8851, 3.3687, 7.1534)
Luminance0.0337 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12374B #4B2612
analogous
#124B42 #12374B #121A4B
triadic
#12374B #4B1237 #374B12
tetradic
#12374B #42124B #4B2612 #1A4B12
square
#12374B #42124B #4B2612 #1A4B12
split-complementary
#12374B #4B121A #4B4212
monochromatic
#061219 #06131A #12374B #1E5B7C #2A7FAE

Accessibility & contrast

On white

12.55
#12374B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#12374B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12374B
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12374B#FFFFFF#000000##FFFFFF
##12374B1.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D374C
Deuteranopia (green-blind)
#26314B
Tritanopia (blue-blind)
#003C3E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #12374b;
/* rgb */ color: rgb(18, 55, 75);
/* oklch */ color: oklch(32.0% 0.055 235.8);
Tailwind
colors: {
  custom: {
    50: '#586d7d',
    500: '#12374b',
    950: '#000000',
  },
}
SCSS
$custom: #12374b;
$custom-light: #586d7d;
$custom-dark: #000000;
JSON
{
  "hex": "#12374b",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 75
  },
  "hsl": {
    "h": 201.053,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.32048,
    "c": 0.05474,
    "h": 235.8
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#12374B
secondary
#845135
accent
#7C43E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040709
muted
#797A7B

Preview Lab

Preview with #12374B

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

Preview Lab → · Contrast checker → · Palette generator →

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