#12304C#12304C

#12304C is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.2% C 0.062 H 249.3°. Best body text is #FFFFFF at 13.52:1 contrast (WCAG AA passes).

Color values

HEX#12304C
RGBrgb(18, 48, 76)
HSLhsl(209, 62%, 18%)
HSVhsv(209, 76%, 30%)
CMYKcmyk(76.3%, 36.8%, 0%, 70.2%)
CIE-LABlab(19.07, -0.32, -20.53)
CIE-LCHlch(19.07, 20.53, 269.10°)
OKLaboklab(30.18% -0.022 -0.0582)
OKLCHoklch(30.18% 0.062 249.3)
XYZxyz(2.6104, 2.7640, 7.2320)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12304C #4C2E12
analogous
#124C4B #12304C #12134C
triadic
#12304C #4C1230 #304C12
tetradic
#12304C #4B124C #4C2E12 #134C12
square
#12304C #4B124C #4C2E12 #134C12
split-complementary
#12304C #4C1213 #4C4B12
monochromatic
#061019 #06111B #12304C #1E4F7D #296FAF

Accessibility & contrast

On white

13.52
#12304C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#12304C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12304C
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12304C#FFFFFF#000000##FFFFFF
##12304C1.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314D
Deuteranopia (green-blind)
#1B2C4B
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12304c;
/* rgb */ color: rgb(18, 48, 76);
/* oklch */ color: oklch(30.2% 0.062 249.3);
Tailwind
colors: {
  custom: {
    50: '#58687e',
    500: '#12304c',
    950: '#000000',
  },
}
SCSS
$custom: #12304c;
$custom-light: #58687e;
$custom-dark: #000000;
JSON
{
  "hex": "#12304c",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 76
  },
  "hsl": {
    "h": 208.966,
    "s": 61.702,
    "l": 18.431
  },
  "oklch": {
    "l": 0.30176,
    "c": 0.06222,
    "h": 249.3
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#12304C
secondary
#855C35
accent
#9143E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12304C

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

Preview Lab → · Contrast checker → · Palette generator →

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