#122149#122149

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

Color values

HEX#122149
RGBrgb(18, 33, 73)
HSLhsl(224, 60%, 18%)
HSVhsv(224, 75%, 29%)
CMYKcmyk(75.3%, 54.8%, 0%, 71.4%)
CIE-LABlab(13.81, 9.44, -26.87)
CIE-LCHlch(13.81, 28.48, 289.36°)
OKLaboklab(26.03% -0.0057 -0.077)
OKLCHoklch(26.03% 0.077 265.8)
XYZxyz(1.9955, 1.6972, 6.5245)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122149 #493A12
analogous
#123C49 #122149 #1E1249
triadic
#122149 #491221 #214912
tetradic
#122149 #49123C #493A12 #12491E
square
#122149 #49123C #493A12 #12491E
split-complementary
#122149 #491E12 #3C4912
monochromatic
#060B19 #060B19 #122149 #1E377A #2A4DAB

Accessibility & contrast

On white

15.68
#122149 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122149
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122149#FFFFFF#000000##FFFFFF
##1221491.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B264A
Deuteranopia (green-blind)
#002148
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122149;
/* rgb */ color: rgb(18, 33, 73);
/* oklch */ color: oklch(26.0% 0.077 265.8);
Tailwind
colors: {
  custom: {
    50: '#585b7c',
    500: '#122149',
    950: '#000000',
  },
}
SCSS
$custom: #122149;
$custom-light: #585b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#122149",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 73
  },
  "hsl": {
    "h": 223.636,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26033,
    "c": 0.07726,
    "h": 265.8
  },
  "luminance": 0.01697
}

Semantic roles & 50–950 ramp

primary
#122149
secondary
#826D35
accent
#B844E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #122149

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

Preview Lab → · Contrast checker → · Palette generator →

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