#12304D#12304D

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

Color values

HEX#12304D
RGBrgb(18, 48, 77)
HSLhsl(209, 62%, 19%)
HSVhsv(209, 77%, 30%)
CMYKcmyk(76.6%, 37.7%, 0%, 69.8%)
CIE-LABlab(19.13, 0.10, -21.11)
CIE-LCHlch(19.13, 21.11, 270.26°)
OKLaboklab(30.24% -0.0217 -0.0599)
OKLCHoklch(30.24% 0.064 250.1)
XYZxyz(2.6455, 2.7780, 7.4165)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12304D #4D2F12
analogous
#124D4C #12304D #12124D
triadic
#12304D #4D1230 #304D12
tetradic
#12304D #4C124D #4D2F12 #124D12
square
#12304D #4C124D #4D2F12 #124D12
split-complementary
#12304D #4D1212 #4D4C12
monochromatic
#060F19 #06111B #12304D #1E4F7F #296EB0

Accessibility & contrast

On white

13.50
#12304D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12304D
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12304D#FFFFFF#000000##FFFFFF
##12304D1.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23314E
Deuteranopia (green-blind)
#1B2C4C
Tritanopia (blue-blind)
#00373A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12304d;
/* rgb */ color: rgb(18, 48, 77);
/* oklch */ color: oklch(30.2% 0.064 250.1);
Tailwind
colors: {
  custom: {
    50: '#58687f',
    500: '#12304d',
    950: '#000000',
  },
}
SCSS
$custom: #12304d;
$custom-light: #58687f;
$custom-dark: #000000;
JSON
{
  "hex": "#12304d",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 77
  },
  "hsl": {
    "h": 209.492,
    "s": 62.105,
    "l": 18.627
  },
  "oklch": {
    "l": 0.30242,
    "c": 0.06369,
    "h": 250.1
  },
  "luminance": 0.02778
}

Semantic roles & 50–950 ramp

primary
#12304D
secondary
#865D35
accent
#9343E5
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12304D

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

Preview Lab → · Contrast checker → · Palette generator →

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