#12164F#12164F

#12164F is a very dark, moderate blue. Relative luminance 0.013; OKLCH L 24.1% C 0.103 H 272.7°. Best body text is #FFFFFF at 16.75:1 contrast (WCAG AA passes).

Color values

HEX#12164F
RGBrgb(18, 22, 79)
HSLhsl(236, 63%, 19%)
HSVhsv(236, 77%, 31%)
CMYKcmyk(77.2%, 72.2%, 0%, 69%)
CIE-LABlab(11.04, 20.26, -35.50)
CIE-LCHlch(11.04, 40.87, 299.71°)
OKLaboklab(24.14% 0.0049 -0.1026)
OKLCHoklch(24.14% 0.103 272.7)
XYZxyz(1.9472, 1.2667, 7.5375)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12164F #4F4B12
analogous
#12354F #12164F #2D124F
triadic
#12164F #4F1216 #164F12
tetradic
#12164F #4F1235 #4F4B12 #124F2D
square
#12164F #4F1235 #4F4B12 #124F2D
split-complementary
#12164F #4F2D12 #354F12
monochromatic
#060719 #07081D #12164F #1D2481 #2932B3

Accessibility & contrast

On white

16.75
#12164F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#12164F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #12164F
16.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12164F#FFFFFF#000000##FFFFFF
##12164F1.0016.751.2516.75
#FFFFFF16.751.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001B4E
Tritanopia (blue-blind)
#002530
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #12164f;
/* rgb */ color: rgb(18, 22, 79);
/* oklch */ color: oklch(24.1% 0.103 272.7);
Tailwind
colors: {
  custom: {
    50: '#5a5381',
    500: '#12164f',
    950: '#000000',
  },
}
SCSS
$custom: #12164f;
$custom-light: #5a5381;
$custom-dark: #000000;
JSON
{
  "hex": "#12164f",
  "rgb": {
    "r": 18,
    "g": 22,
    "b": 79
  },
  "hsl": {
    "h": 236.066,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24136,
    "c": 0.10268,
    "h": 272.7
  },
  "luminance": 0.01267
}

Semantic roles & 50–950 ramp

primary
#12164F
secondary
#888335
accent
#DB42E6
background
#F5F4F7
surface
#E9E7EE
border
#C5C3C9
text
#04020A
muted
#79787C

Preview Lab

Preview with #12164F

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

Preview Lab → · Contrast checker → · Palette generator →

#12164F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva