#12314A#12314A

#12314A is a dark, muted cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.058 H 245.8°. Best body text is #FFFFFF at 13.43:1 contrast (WCAG AA passes).

Color values

HEX#12314A
RGBrgb(18, 49, 74)
HSLhsl(207, 61%, 18%)
HSVhsv(207, 76%, 29%)
CMYKcmyk(75.7%, 33.8%, 0%, 71%)
CIE-LABlab(19.31, -1.85, -18.81)
CIE-LCHlch(19.31, 18.90, 264.39°)
OKLaboklab(30.32% -0.0239 -0.0532)
OKLCHoklch(30.32% 0.058 245.8)
XYZxyz(2.5833, 2.8194, 6.8853)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12314A #4A2B12
analogous
#124A47 #12314A #12154A
triadic
#12314A #4A1231 #314A12
tetradic
#12314A #47124A #4A2B12 #154A12
square
#12314A #47124A #4A2B12 #154A12
split-complementary
#12314A #4A1215 #4A4712
monochromatic
#061019 #061019 #12314A #1E527B #2A72AC

Accessibility & contrast

On white

13.43
#12314A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#12314A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12314A
13.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12314A#FFFFFF#000000##FFFFFF
##12314A1.0013.431.5613.43
#FFFFFF13.431.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26324B
Deuteranopia (green-blind)
#1E2C4A
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #12314a;
/* rgb */ color: rgb(18, 49, 74);
/* oklch */ color: oklch(30.3% 0.058 245.8);
Tailwind
colors: {
  custom: {
    50: '#58687c',
    500: '#12314a',
    950: '#000000',
  },
}
SCSS
$custom: #12314a;
$custom-light: #58687c;
$custom-dark: #000000;
JSON
{
  "hex": "#12314a",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 74
  },
  "hsl": {
    "h": 206.786,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30322,
    "c": 0.0583,
    "h": 245.8
  },
  "luminance": 0.0282
}

Semantic roles & 50–950 ramp

primary
#12314A
secondary
#835835
accent
#8B44E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #12314A

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

Preview Lab → · Contrast checker → · Palette generator →

#12314A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva