#12304B#12304B

#12304B is a dark, moderate cyan. Relative luminance 0.028; OKLCH L 30.1% C 0.061 H 248.4°. Best body text is #FFFFFF at 13.55:1 contrast (WCAG AA passes).

Color values

HEX#12304B
RGBrgb(18, 48, 75)
HSLhsl(208, 61%, 18%)
HSVhsv(208, 76%, 29%)
CMYKcmyk(76%, 36%, 0%, 70.6%)
CIE-LABlab(19.01, -0.74, -19.94)
CIE-LCHlch(19.01, 19.96, 267.88°)
OKLaboklab(30.11% -0.0224 -0.0565)
OKLCHoklch(30.11% 0.061 248.4)
XYZxyz(2.5759, 2.7502, 7.0503)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12304B #4B2D12
analogous
#124B49 #12304B #12134B
triadic
#12304B #4B1230 #304B12
tetradic
#12304B #49124B #4B2D12 #134B12
square
#12304B #49124B #4B2D12 #134B12
split-complementary
#12304B #4B1213 #4B4912
monochromatic
#061019 #06101A #12304B #1E507C #2A6FAE

Accessibility & contrast

On white

13.55
#12304B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #12304B
13.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12304B#FFFFFF#000000##FFFFFF
##12304B1.0013.551.5513.55
#FFFFFF13.551.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24314C
Deuteranopia (green-blind)
#1C2C4A
Tritanopia (blue-blind)
#00363A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #12304b;
/* rgb */ color: rgb(18, 48, 75);
/* oklch */ color: oklch(30.1% 0.061 248.4);
Tailwind
colors: {
  custom: {
    50: '#58687d',
    500: '#12304b',
    950: '#000000',
  },
}
SCSS
$custom: #12304b;
$custom-light: #58687d;
$custom-dark: #000000;
JSON
{
  "hex": "#12304b",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 75
  },
  "hsl": {
    "h": 208.421,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.30111,
    "c": 0.06076,
    "h": 248.4
  },
  "luminance": 0.02751
}

Semantic roles & 50–950 ramp

primary
#12304B
secondary
#845A35
accent
#9043E4
background
#F5F6F7
surface
#E9EBEE
border
#C5C6C9
text
#040609
muted
#797A7B

Preview Lab

Preview with #12304B

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

Preview Lab → · Contrast checker → · Palette generator →

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