#122046#122046

#122046 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.074 H 266.1°. Best body text is #FFFFFF at 15.90:1 contrast (WCAG AA passes).

Color values

HEX#122046
RGBrgb(18, 32, 70)
HSLhsl(224, 59%, 17%)
HSVhsv(224, 74%, 27%)
CMYKcmyk(74.3%, 54.3%, 0%, 72.5%)
CIE-LABlab(13.25, 8.92, -25.69)
CIE-LCHlch(13.25, 27.19, 289.15°)
OKLaboklab(25.53% -0.005 -0.0736)
OKLCHoklch(25.53% 0.074 266.1)
XYZxyz(1.8711, 1.6036, 6.0041)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122046 #463812
analogous
#123A46 #122046 #1E1246
triadic
#122046 #461220 #204612
tetradic
#122046 #46123A #463812 #12461E
square
#122046 #46123A #463812 #12461E
split-complementary
#122046 #461E12 #3A4612
monochromatic
#060B18 #060B18 #122046 #1F3677 #2B4DA7

Accessibility & contrast

On white

15.90
#122046 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#122046 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122046
15.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122046#FFFFFF#000000##FFFFFF
##1220461.0015.901.3215.90
#FFFFFF15.901.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2547
Deuteranopia (green-blind)
#022045
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #122046;
/* rgb */ color: rgb(18, 32, 70);
/* oklch */ color: oklch(25.5% 0.074 266.1);
Tailwind
colors: {
  custom: {
    50: '#575b7a',
    500: '#122046',
    950: '#000000',
  },
}
SCSS
$custom: #122046;
$custom-light: #575b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122046",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 70
  },
  "hsl": {
    "h": 223.846,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25534,
    "c": 0.07378,
    "h": 266.1
  },
  "luminance": 0.01604
}

Semantic roles & 50–950 ramp

primary
#122046
secondary
#7F6B35
accent
#B846E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122046

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

Preview Lab → · Contrast checker → · Palette generator →

#122046 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva