#12354F#12354F

#12354F is a dark, moderate cyan. Relative luminance 0.032; OKLCH L 31.7% C 0.061 H 244.1°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#12354F
RGBrgb(18, 53, 79)
HSLhsl(206, 63%, 19%)
HSVhsv(206, 77%, 31%)
CMYKcmyk(77.2%, 32.9%, 0%, 69%)
CIE-LABlab(20.98, -2.55, -19.54)
CIE-LCHlch(20.98, 19.71, 262.57°)
OKLaboklab(31.73% -0.0268 -0.0553)
OKLCHoklch(31.73% 0.061 244.1)
XYZxyz(2.9333, 3.2390, 7.8662)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12354F #4F2C12
analogous
#124F4B #12354F #12174F
triadic
#12354F #4F1235 #354F12
tetradic
#12354F #4B124F #4F2C12 #174F12
square
#12354F #4B124F #4F2C12 #174F12
split-complementary
#12354F #4F1217 #4F4B12
monochromatic
#061119 #07141D #12354F #1D5681 #2978B3

Accessibility & contrast

On white

12.74
#12354F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#12354F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12354F
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12354F#FFFFFF#000000##FFFFFF
##12354F1.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293650
Deuteranopia (green-blind)
#21304F
Tritanopia (blue-blind)
#003B3E
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12354f;
/* rgb */ color: rgb(18, 53, 79);
/* oklch */ color: oklch(31.7% 0.061 244.1);
Tailwind
colors: {
  custom: {
    50: '#596c80',
    500: '#12354f',
    950: '#000000',
  },
}
SCSS
$custom: #12354f;
$custom-light: #596c80;
$custom-dark: #000000;
JSON
{
  "hex": "#12354f",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 79
  },
  "hsl": {
    "h": 205.574,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.31732,
    "c": 0.06143,
    "h": 244.1
  },
  "luminance": 0.03239
}

Semantic roles & 50–950 ramp

primary
#12354F
secondary
#885835
accent
#8842E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12354F

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

Preview Lab → · Contrast checker → · Palette generator →

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