#12344E#12344E

#12344E is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.4% C 0.061 H 244.7°. Best body text is #FFFFFF at 12.91:1 contrast (WCAG AA passes).

Color values

HEX#12344E
RGBrgb(18, 52, 78)
HSLhsl(206, 63%, 19%)
HSVhsv(206, 77%, 31%)
CMYKcmyk(76.9%, 33.3%, 0%, 69.4%)
CIE-LABlab(20.57, -2.27, -19.51)
CIE-LCHlch(20.57, 19.64, 263.36°)
OKLaboklab(31.4% -0.026 -0.0552)
OKLCHoklch(31.4% 0.061 244.7)
XYZxyz(2.8521, 3.1343, 7.6609)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12344E #4E2C12
analogous
#124E4A #12344E #12164E
triadic
#12344E #4E1234 #344E12
tetradic
#12344E #4A124E #4E2C12 #164E12
square
#12344E #4A124E #4E2C12 #164E12
split-complementary
#12344E #4E1216 #4E4A12
monochromatic
#061119 #07131C #12344E #1D5580 #2976B1

Accessibility & contrast

On white

12.91
#12344E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#12344E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12344E
12.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12344E#FFFFFF#000000##FFFFFF
##12344E1.0012.911.6312.91
#FFFFFF12.911.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28354F
Deuteranopia (green-blind)
#202F4E
Tritanopia (blue-blind)
#003A3D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12344e;
/* rgb */ color: rgb(18, 52, 78);
/* oklch */ color: oklch(31.4% 0.061 244.7);
Tailwind
colors: {
  custom: {
    50: '#596b7f',
    500: '#12344e',
    950: '#000000',
  },
}
SCSS
$custom: #12344e;
$custom-light: #596b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12344e",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 78
  },
  "hsl": {
    "h": 206,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31396,
    "c": 0.061,
    "h": 244.7
  },
  "luminance": 0.03135
}

Semantic roles & 50–950 ramp

primary
#12344E
secondary
#875835
accent
#8942E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12344E

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

Preview Lab → · Contrast checker → · Palette generator →

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