#12304A#12304A

#12304A is a dark, muted cyan. Relative luminance 0.027; OKLCH L 30.0% C 0.059 H 247.5°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#12304A
RGBrgb(18, 48, 74)
HSLhsl(208, 61%, 18%)
HSVhsv(208, 76%, 29%)
CMYKcmyk(75.7%, 35.1%, 0%, 71%)
CIE-LABlab(18.96, -1.15, -19.36)
CIE-LCHlch(18.96, 19.39, 266.60°)
OKLaboklab(30.05% -0.0227 -0.0548)
OKLCHoklch(30.05% 0.059 247.5)
XYZxyz(2.5420, 2.7366, 6.8715)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12304A #4A2C12
analogous
#124A48 #12304A #12144A
triadic
#12304A #4A1230 #304A12
tetradic
#12304A #48124A #4A2C12 #144A12
square
#12304A #48124A #4A2C12 #144A12
split-complementary
#12304A #4A1214 #4A4812
monochromatic
#061019 #061019 #12304A #1E507B #2A70AC

Accessibility & contrast

On white

13.57
#12304A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12304A
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12304A#FFFFFF#000000##FFFFFF
##12304A1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314B
Deuteranopia (green-blind)
#1D2C49
Tritanopia (blue-blind)
#003639
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12304a;
/* rgb */ color: rgb(18, 48, 74);
/* oklch */ color: oklch(30.0% 0.059 247.5);
Tailwind
colors: {
  custom: {
    50: '#58687c',
    500: '#12304a',
    950: '#000000',
  },
}
SCSS
$custom: #12304a;
$custom-light: #58687c;
$custom-dark: #000000;
JSON
{
  "hex": "#12304a",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 74
  },
  "hsl": {
    "h": 207.857,
    "s": 60.87,
    "l": 18.039
  },
  "oklch": {
    "l": 0.30047,
    "c": 0.0593,
    "h": 247.5
  },
  "luminance": 0.02737
}

Semantic roles & 50–950 ramp

primary
#12304A
secondary
#835935
accent
#8E44E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #12304A

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

Preview Lab → · Contrast checker → · Palette generator →

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