#12334D#12334D

#12334D is a dark, moderate cyan. Relative luminance 0.030; OKLCH L 31.1% C 0.061 H 245.4°. Best body text is #FFFFFF at 13.07:1 contrast (WCAG AA passes).

Color values

HEX#12334D
RGBrgb(18, 51, 77)
HSLhsl(206, 62%, 19%)
HSVhsv(206, 77%, 30%)
CMYKcmyk(76.6%, 33.8%, 0%, 69.8%)
CIE-LABlab(20.17, -2.00, -19.47)
CIE-LCHlch(20.17, 19.57, 264.14°)
OKLaboklab(31.06% -0.0252 -0.0551)
OKLCHoklch(31.06% 0.061 245.4)
XYZxyz(2.7723, 3.0318, 7.4588)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12334D #4D2C12
analogous
#124D49 #12334D #12154D
triadic
#12334D #4D1233 #334D12
tetradic
#12334D #49124D #4D2C12 #154D12
square
#12334D #49124D #4D2C12 #154D12
split-complementary
#12334D #4D1215 #4D4912
monochromatic
#061019 #06121B #12334D #1E547F #2975B0

Accessibility & contrast

On white

13.07
#12334D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#12334D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12334D
13.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12334D#FFFFFF#000000##FFFFFF
##12334D1.0013.071.6113.07
#FFFFFF13.071.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27344E
Deuteranopia (green-blind)
#1F2E4D
Tritanopia (blue-blind)
#00393C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #12334d;
/* rgb */ color: rgb(18, 51, 77);
/* oklch */ color: oklch(31.1% 0.061 245.4);
Tailwind
colors: {
  custom: {
    50: '#586a7f',
    500: '#12334d',
    950: '#000000',
  },
}
SCSS
$custom: #12334d;
$custom-light: #586a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12334d",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 77
  },
  "hsl": {
    "h": 206.441,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.31059,
    "c": 0.06057,
    "h": 245.4
  },
  "luminance": 0.03032
}

Semantic roles & 50–950 ramp

primary
#12334D
secondary
#865935
accent
#8A43E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12334D

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

Preview Lab → · Contrast checker → · Palette generator →

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