#12334E#12334E

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

Color values

HEX#12334E
RGBrgb(18, 51, 78)
HSLhsl(207, 63%, 19%)
HSVhsv(207, 77%, 31%)
CMYKcmyk(76.9%, 34.6%, 0%, 69.4%)
CIE-LABlab(20.23, -1.58, -20.05)
CIE-LCHlch(20.23, 20.12, 265.48°)
OKLaboklab(31.12% -0.0249 -0.0568)
OKLCHoklch(31.12% 0.062 246.4)
XYZxyz(2.8079, 3.0460, 7.6462)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12334E #4E2D12
analogous
#124E4B #12334E #12154E
triadic
#12334E #4E1233 #334E12
tetradic
#12334E #4B124E #4E2D12 #154E12
square
#12334E #4B124E #4E2D12 #154E12
split-complementary
#12334E #4E1215 #4E4B12
monochromatic
#061019 #07121C #12334E #1D5480 #2974B1

Accessibility & contrast

On white

13.05
#12334E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12334E
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12334E#FFFFFF#000000##FFFFFF
##12334E1.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12334e;
/* rgb */ color: rgb(18, 51, 78);
/* oklch */ color: oklch(31.1% 0.062 246.4);
Tailwind
colors: {
  custom: {
    50: '#596a7f',
    500: '#12334e',
    950: '#000000',
  },
}
SCSS
$custom: #12334e;
$custom-light: #596a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#12334e",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 78
  },
  "hsl": {
    "h": 207,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.31123,
    "c": 0.06197,
    "h": 246.4
  },
  "luminance": 0.03046
}

Semantic roles & 50–950 ramp

primary
#12334E
secondary
#875A35
accent
#8C42E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12334E

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

Preview Lab → · Contrast checker → · Palette generator →

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