#122246#122246

#122246 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 26.0% C 0.071 H 264.1°. Best body text is #FFFFFF at 15.64:1 contrast (WCAG AA passes).

Color values

HEX#122246
RGBrgb(18, 34, 70)
HSLhsl(222, 59%, 17%)
HSVhsv(222, 74%, 27%)
CMYKcmyk(74.3%, 51.4%, 0%, 72.5%)
CIE-LABlab(13.91, 7.40, -24.63)
CIE-LCHlch(13.91, 25.72, 286.71°)
OKLaboklab(26.04% -0.0073 -0.0704)
OKLCHoklch(26.04% 0.071 264.1)
XYZxyz(1.9266, 1.7147, 6.0226)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122246 #463612
analogous
#123C46 #122246 #1C1246
triadic
#122246 #461222 #224612
tetradic
#122246 #46123C #463612 #12461C
square
#122246 #46123C #463612 #12461C
split-complementary
#122246 #461C12 #3C4612
monochromatic
#060C18 #060C18 #122246 #1F3A77 #2B51A7

Accessibility & contrast

On white

15.64
#122246 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#122246 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122246
15.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122246#FFFFFF#000000##FFFFFF
##1222461.0015.641.3415.64
#FFFFFF15.641.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#102647
Deuteranopia (green-blind)
#072145
Tritanopia (blue-blind)
#002A30
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122246;
/* rgb */ color: rgb(18, 34, 70);
/* oklch */ color: oklch(26.0% 0.071 264.1);
Tailwind
colors: {
  custom: {
    50: '#575c7a',
    500: '#122246',
    950: '#000000',
  },
}
SCSS
$custom: #122246;
$custom-light: #575c7a;
$custom-dark: #000000;
JSON
{
  "hex": "#122246",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 70
  },
  "hsl": {
    "h": 221.538,
    "s": 59.091,
    "l": 17.255
  },
  "oklch": {
    "l": 0.26039,
    "c": 0.07083,
    "h": 264.1
  },
  "luminance": 0.01715
}

Semantic roles & 50–950 ramp

primary
#122246
secondary
#7F6835
accent
#B246E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122246

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

Preview Lab → · Contrast checker → · Palette generator →

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