#12304E#12304E

#12304E is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.3% C 0.065 H 250.9°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#12304E
RGBrgb(18, 48, 78)
HSLhsl(210, 63%, 19%)
HSVhsv(210, 77%, 31%)
CMYKcmyk(76.9%, 38.5%, 0%, 69.4%)
CIE-LABlab(19.19, 0.51, -21.68)
CIE-LCHlch(19.19, 21.69, 271.35°)
OKLaboklab(30.31% -0.0214 -0.0616)
OKLCHoklch(30.31% 0.065 250.9)
XYZxyz(2.6810, 2.7923, 7.6039)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12304E #4E3012
analogous
#124E4E #12304E #12124E
triadic
#12304E #4E1230 #304E12
tetradic
#12304E #4E124E #4E3012 #124E12
square
#12304E #4E124E #4E3012 #124E12
split-complementary
#12304E #4E1212 #4E4E12
monochromatic
#060F19 #07111C #12304E #1D4F80 #296DB1

Accessibility & contrast

On white

13.47
#12304E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12304E
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12304E#FFFFFF#000000##FFFFFF
##12304E1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#23324F
Deuteranopia (green-blind)
#1A2C4D
Tritanopia (blue-blind)
#00373B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #12304e;
/* rgb */ color: rgb(18, 48, 78);
/* oklch */ color: oklch(30.3% 0.065 250.9);
Tailwind
colors: {
  custom: {
    50: '#59687f',
    500: '#12304e',
    950: '#000000',
  },
}
SCSS
$custom: #12304e;
$custom-light: #59687f;
$custom-dark: #000000;
JSON
{
  "hex": "#12304e",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 78
  },
  "hsl": {
    "h": 210,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.30309,
    "c": 0.06519,
    "h": 250.9
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#12304E
secondary
#875E35
accent
#9442E6
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#04060A
muted
#797A7C

Preview Lab

Preview with #12304E

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

Preview Lab → · Contrast checker → · Palette generator →

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