#12314D#12314D

#12314D is a dark, moderate cyan. Relative luminance 0.029; OKLCH L 30.5% C 0.063 H 248.6°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#12314D
RGBrgb(18, 49, 77)
HSLhsl(208, 62%, 19%)
HSVhsv(208, 77%, 30%)
CMYKcmyk(76.6%, 36.4%, 0%, 69.8%)
CIE-LABlab(19.48, -0.61, -20.56)
CIE-LCHlch(19.48, 20.57, 268.31°)
OKLaboklab(30.51% -0.0229 -0.0583)
OKLCHoklch(30.51% 0.063 248.6)
XYZxyz(2.6868, 2.8608, 7.4303)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12314D #4D2E12
analogous
#124D4B #12314D #12134D
triadic
#12314D #4D1231 #314D12
tetradic
#12314D #4B124D #4D2E12 #134D12
square
#12314D #4B124D #4D2E12 #134D12
split-complementary
#12314D #4D1213 #4D4B12
monochromatic
#061019 #06111B #12314D #1E517F #2970B0

Accessibility & contrast

On white

13.36
#12314D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#12314D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12314D
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12314D#FFFFFF#000000##FFFFFF
##12314D1.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24324E
Deuteranopia (green-blind)
#1C2D4C
Tritanopia (blue-blind)
#00383B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #12314d;
/* rgb */ color: rgb(18, 49, 77);
/* oklch */ color: oklch(30.5% 0.063 248.6);
Tailwind
colors: {
  custom: {
    50: '#58687f',
    500: '#12314d',
    950: '#000000',
  },
}
SCSS
$custom: #12314d;
$custom-light: #58687f;
$custom-dark: #000000;
JSON
{
  "hex": "#12314d",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 77
  },
  "hsl": {
    "h": 208.475,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30513,
    "c": 0.06261,
    "h": 248.6
  },
  "luminance": 0.02861
}

Semantic roles & 50–950 ramp

primary
#12314D
secondary
#865B35
accent
#9043E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12314D

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

Preview Lab → · Contrast checker → · Palette generator →

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