#12344F#12344F

#12344F is a dark, moderate cyan. Relative luminance 0.031; OKLCH L 31.5% C 0.062 H 245.7°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#12344F
RGBrgb(18, 52, 79)
HSLhsl(207, 63%, 19%)
HSVhsv(207, 77%, 31%)
CMYKcmyk(77.2%, 34.2%, 0%, 69%)
CIE-LABlab(20.63, -1.86, -20.09)
CIE-LCHlch(20.63, 20.18, 264.70°)
OKLaboklab(31.46% -0.0257 -0.0569)
OKLCHoklch(31.46% 0.062 245.7)
XYZxyz(2.8882, 3.1488, 7.8512)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12344F #4F2D12
analogous
#124F4C #12344F #12164F
triadic
#12344F #4F1234 #344F12
tetradic
#12344F #4C124F #4F2D12 #164F12
square
#12344F #4C124F #4F2D12 #164F12
split-complementary
#12344F #4F1216 #4F4C12
monochromatic
#061019 #07131D #12344F #1D5581 #2976B3

Accessibility & contrast

On white

12.89
#12344F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12344F
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12344F#FFFFFF#000000##FFFFFF
##12344F1.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283550
Deuteranopia (green-blind)
#1F2F4E
Tritanopia (blue-blind)
#003B3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12344f;
/* rgb */ color: rgb(18, 52, 79);
/* oklch */ color: oklch(31.5% 0.062 245.7);
Tailwind
colors: {
  custom: {
    50: '#596b80',
    500: '#12344f',
    950: '#000000',
  },
}
SCSS
$custom: #12344f;
$custom-light: #596b80;
$custom-dark: #000000;
JSON
{
  "hex": "#12344f",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 79
  },
  "hsl": {
    "h": 206.557,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31459,
    "c": 0.06239,
    "h": 245.7
  },
  "luminance": 0.03149
}

Semantic roles & 50–950 ramp

primary
#12344F
secondary
#885A35
accent
#8A42E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12344F

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

Preview Lab → · Contrast checker → · Palette generator →

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