#122146#122146

#122146 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.8% C 0.072 H 265.1°. Best body text is #FFFFFF at 15.77:1 contrast (WCAG AA passes).

Color values

HEX#122146
RGBrgb(18, 33, 70)
HSLhsl(223, 59%, 17%)
HSVhsv(223, 74%, 27%)
CMYKcmyk(74.3%, 52.9%, 0%, 72.5%)
CIE-LABlab(13.58, 8.16, -25.16)
CIE-LCHlch(13.58, 26.45, 287.96°)
OKLaboklab(25.79% -0.0061 -0.072)
OKLCHoklch(25.79% 0.072 265.1)
XYZxyz(1.8984, 1.6583, 6.0132)
Luminance0.0166 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122146 #463712
analogous
#123B46 #122146 #1D1246
triadic
#122146 #461221 #214612
tetradic
#122146 #46123B #463712 #12461D
square
#122146 #46123B #463712 #12461D
split-complementary
#122146 #461D12 #3B4612
monochromatic
#060B18 #060B18 #122146 #1F3877 #2B4FA7

Accessibility & contrast

On white

15.77
#122146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#122146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122146
15.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122146#FFFFFF#000000##FFFFFF
##1221461.0015.771.3315.77
#FFFFFF15.771.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2547
Deuteranopia (green-blind)
#042145
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122146;
/* rgb */ color: rgb(18, 33, 70);
/* oklch */ color: oklch(25.8% 0.072 265.1);
Tailwind
colors: {
  custom: {
    50: '#575b7a',
    500: '#122146',
    950: '#000000',
  },
}
SCSS
$custom: #122146;
$custom-light: #575b7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122146",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 222.692,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.25785,
    "c": 0.07229,
    "h": 265.1
  },
  "luminance": 0.01659
}

Semantic roles & 50–950 ramp

primary
#122146
secondary
#7F6A35
accent
#B546E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122146

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

Preview Lab → · Contrast checker → · Palette generator →

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