#12354C#12354C

#12354C is a dark, muted cyan. Relative luminance 0.032; OKLCH L 31.6% C 0.057 H 240.9°. Best body text is #FFFFFF at 12.81:1 contrast (WCAG AA passes).

Color values

HEX#12354C
RGBrgb(18, 53, 76)
HSLhsl(204, 62%, 18%)
HSVhsv(204, 76%, 30%)
CMYKcmyk(76.3%, 30.3%, 0%, 70.2%)
CIE-LABlab(20.81, -3.77, -17.79)
CIE-LCHlch(20.81, 18.19, 258.04°)
OKLaboklab(31.55% -0.0279 -0.0502)
OKLCHoklch(31.55% 0.057 240.9)
XYZxyz(2.8266, 3.1963, 7.3041)
Luminance0.0320 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12354C #4C2912
analogous
#124C46 #12354C #12184C
triadic
#12354C #4C1235 #354C12
tetradic
#12354C #46124C #4C2912 #184C12
square
#12354C #46124C #4C2912 #184C12
split-complementary
#12354C #4C1218 #4C4612
monochromatic
#061119 #06121B #12354C #1E587D #297AAF

Accessibility & contrast

On white

12.81
#12354C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#12354C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12354C
12.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12354C#FFFFFF#000000##FFFFFF
##12354C1.0012.811.6412.81
#FFFFFF12.811.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A354D
Deuteranopia (green-blind)
#22304C
Tritanopia (blue-blind)
#003B3D
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #12354c;
/* rgb */ color: rgb(18, 53, 76);
/* oklch */ color: oklch(31.6% 0.057 240.9);
Tailwind
colors: {
  custom: {
    50: '#586c7e',
    500: '#12354c',
    950: '#000000',
  },
}
SCSS
$custom: #12354c;
$custom-light: #586c7e;
$custom-dark: #000000;
JSON
{
  "hex": "#12354c",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 76
  },
  "hsl": {
    "h": 203.793,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.3155,
    "c": 0.05744,
    "h": 240.9
  },
  "luminance": 0.03197
}

Semantic roles & 50–950 ramp

primary
#12354C
secondary
#855535
accent
#8343E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12354C

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

Preview Lab → · Contrast checker → · Palette generator →

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