#12304F#12304F

#12304F is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.4% C 0.067 H 251.6°. Best body text is #FFFFFF at 13.45:1 contrast (WCAG AA passes).

Color values

HEX#12304F
RGBrgb(18, 48, 79)
HSLhsl(210, 63%, 19%)
HSVhsv(210, 77%, 31%)
CMYKcmyk(77.2%, 39.2%, 0%, 69%)
CIE-LABlab(19.25, 0.93, -22.26)
CIE-LCHlch(19.25, 22.28, 272.40°)
OKLaboklab(30.38% -0.0211 -0.0633)
OKLCHoklch(30.38% 0.067 251.6)
XYZxyz(2.7172, 2.8067, 7.7942)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12304F #4F3112
analogous
#124F4F #12304F #13124F
triadic
#12304F #4F1230 #304F12
tetradic
#12304F #4F124F #4F3112 #124F13
square
#12304F #4F124F #4F3112 #124F13
split-complementary
#12304F #4F1312 #4F4F12
monochromatic
#060F19 #07121D #12304F #1D4E81 #296DB3

Accessibility & contrast

On white

13.45
#12304F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#12304F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12304F
13.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12304F#FFFFFF#000000##FFFFFF
##12304F1.0013.451.5613.45
#FFFFFF13.451.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#223250
Deuteranopia (green-blind)
#192C4E
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #12304f;
/* rgb */ color: rgb(18, 48, 79);
/* oklch */ color: oklch(30.4% 0.067 251.6);
Tailwind
colors: {
  custom: {
    50: '#596880',
    500: '#12304f',
    950: '#000000',
  },
}
SCSS
$custom: #12304f;
$custom-light: #596880;
$custom-dark: #000000;
JSON
{
  "hex": "#12304f",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 79
  },
  "hsl": {
    "h": 210.492,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.30376,
    "c": 0.06668,
    "h": 251.6
  },
  "luminance": 0.02807
}

Semantic roles & 50–950 ramp

primary
#12304F
secondary
#885F35
accent
#9542E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12304F

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

Preview Lab → · Contrast checker → · Palette generator →

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