#12314C#12314C

#12314C is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.061 H 247.7°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#12314C
RGBrgb(18, 49, 76)
HSLhsl(208, 62%, 18%)
HSVhsv(208, 76%, 30%)
CMYKcmyk(76.3%, 35.5%, 0%, 70.2%)
CIE-LABlab(19.42, -1.02, -19.98)
CIE-LCHlch(19.42, 20.01, 267.08°)
OKLaboklab(30.45% -0.0232 -0.0566)
OKLCHoklch(30.45% 0.061 247.7)
XYZxyz(2.6518, 2.8467, 7.2458)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12314C #4C2D12
analogous
#124C4A #12314C #12144C
triadic
#12314C #4C1231 #314C12
tetradic
#12314C #4A124C #4C2D12 #144C12
square
#12314C #4A124C #4C2D12 #144C12
split-complementary
#12314C #4C1214 #4C4A12
monochromatic
#061019 #06111B #12314C #1E517D #2971AF

Accessibility & contrast

On white

13.38
#12314C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12314C
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12314C#FFFFFF#000000##FFFFFF
##12314C1.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#25324D
Deuteranopia (green-blind)
#1D2D4B
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #12314c;
/* rgb */ color: rgb(18, 49, 76);
/* oklch */ color: oklch(30.4% 0.061 247.7);
Tailwind
colors: {
  custom: {
    50: '#58687e',
    500: '#12314c',
    950: '#000000',
  },
}
SCSS
$custom: #12314c;
$custom-light: #58687e;
$custom-dark: #000000;
JSON
{
  "hex": "#12314c",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 76
  },
  "hsl": {
    "h": 207.931,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30449,
    "c": 0.06116,
    "h": 247.7
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#12314C
secondary
#855A35
accent
#8E43E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12314C

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

Preview Lab → · Contrast checker → · Palette generator →

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