#12345A#12345A

#12345A is a dark, moderate cyan. Relative luminance 0.033; OKLCH L 32.2% C 0.078 H 253.5°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#12345A
RGBrgb(18, 52, 90)
HSLhsl(212, 67%, 21%)
HSVhsv(212, 80%, 35%)
CMYKcmyk(80%, 42.2%, 0%, 64.7%)
CIE-LABlab(21.29, 2.74, -26.35)
CIE-LCHlch(21.29, 26.49, 275.94°)
OKLaboklab(32.19% -0.0222 -0.0752)
OKLCHoklch(32.19% 0.078 253.5)
XYZxyz(3.3222, 3.3224, 10.1371)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12345A #5A3812
analogous
#12585A #12345A #14125A
triadic
#12345A #5A1234 #345A12
tetradic
#12345A #5A1258 #5A3812 #125A14
square
#12345A #5A1258 #5A3812 #125A14
split-complementary
#12345A #5A1412 #585A12
monochromatic
#050F1A #081727 #12345A #1C518D #266FC0

Accessibility & contrast

On white

12.62
#12345A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#12345A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12345A
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12345A#FFFFFF#000000##FFFFFF
##12345A1.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22375C
Deuteranopia (green-blind)
#173059
Tritanopia (blue-blind)
#003D42
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #12345a;
/* rgb */ color: rgb(18, 52, 90);
/* oklch */ color: oklch(32.2% 0.078 253.5);
Tailwind
colors: {
  custom: {
    50: '#5b6b89',
    500: '#12345a',
    950: '#000000',
  },
}
SCSS
$custom: #12345a;
$custom-light: #5b6b89;
$custom-dark: #000000;
JSON
{
  "hex": "#12345a",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 90
  },
  "hsl": {
    "h": 211.667,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.32193,
    "c": 0.07839,
    "h": 253.5
  },
  "luminance": 0.03323
}

Semantic roles & 50–950 ramp

primary
#12345A
secondary
#936635
accent
#993EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04060B
muted
#797A7C

Preview Lab

Preview with #12345A

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

Preview Lab → · Contrast checker → · Palette generator →

#12345A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva