#12313E#12313E

#12313E is a dark, muted cyan. Relative luminance 0.027; OKLCH L 29.6% C 0.043 H 228.4°. Best body text is #FFFFFF at 13.68:1 contrast (WCAG AA passes).

Color values

HEX#12313E
RGBrgb(18, 49, 62)
HSLhsl(198, 55%, 16%)
HSVhsv(198, 71%, 24%)
CMYKcmyk(71%, 21%, 0%, 75.7%)
CIE-LABlab(18.68, -6.64, -11.61)
CIE-LCHlch(18.68, 13.37, 240.25°)
OKLaboklab(29.62% -0.0288 -0.0324)
OKLCHoklch(29.62% 0.043 228.4)
XYZxyz(2.2169, 2.6728, 4.9556)
Luminance0.0267 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12313E #3E1F12
analogous
#123E35 #12313E #121B3E
triadic
#12313E #3E1231 #313E12
tetradic
#12313E #35123E #3E1F12 #1B3E12
square
#12313E #35123E #3E1F12 #1B3E12
split-complementary
#12313E #3E121B #3E3512
monochromatic
#071318 #071318 #12313E #20566D #2E7C9D

Accessibility & contrast

On white

13.68
#12313E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#12313E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12313E
13.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12313E#FFFFFF#000000##FFFFFF
##12313E1.0013.681.5313.68
#FFFFFF13.681.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303F
Deuteranopia (green-blind)
#242B3E
Tritanopia (blue-blind)
#003535
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #12313e;
/* rgb */ color: rgb(18, 49, 62);
/* oklch */ color: oklch(29.6% 0.043 228.4);
Tailwind
colors: {
  custom: {
    50: '#556973',
    500: '#12313e',
    950: '#000000',
  },
}
SCSS
$custom: #12313e;
$custom-light: #556973;
$custom-dark: #000000;
JSON
{
  "hex": "#12313e",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 197.727,
    "s": 55,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29623,
    "c": 0.04334,
    "h": 228.4
  },
  "luminance": 0.02673
}

Semantic roles & 50–950 ramp

primary
#12313E
secondary
#774835
accent
#7549DE
background
#F5F6F6
surface
#E9EBEC
border
#C5C6C7
text
#030608
muted
#787A7B

Preview Lab

Preview with #12313E

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

Preview Lab → · Contrast checker → · Palette generator →

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