#122249#122249

#122249 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.3% C 0.076 H 264.9°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#122249
RGBrgb(18, 34, 73)
HSLhsl(223, 60%, 18%)
HSVhsv(223, 75%, 29%)
CMYKcmyk(75.3%, 53.4%, 0%, 71.4%)
CIE-LABlab(14.14, 8.68, -26.34)
CIE-LCHlch(14.14, 27.74, 288.24°)
OKLaboklab(26.28% -0.0068 -0.0755)
OKLCHoklch(26.28% 0.076 264.9)
XYZxyz(2.0237, 1.7535, 6.5338)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122249 #493912
analogous
#123E49 #122249 #1D1249
triadic
#122249 #491222 #224912
tetradic
#122249 #49123E #493912 #12491D
square
#122249 #49123E #493912 #12491D
split-complementary
#122249 #491D12 #3E4912
monochromatic
#060B19 #060B19 #122249 #1E397A #2A50AB

Accessibility & contrast

On white

15.55
#122249 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#122249 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122249
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122249#FFFFFF#000000##FFFFFF
##1222491.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D274A
Deuteranopia (green-blind)
#032248
Tritanopia (blue-blind)
#002B32
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #122249;
/* rgb */ color: rgb(18, 34, 73);
/* oklch */ color: oklch(26.3% 0.076 264.9);
Tailwind
colors: {
  custom: {
    50: '#585c7c',
    500: '#122249',
    950: '#000000',
  },
}
SCSS
$custom: #122249;
$custom-light: #585c7c;
$custom-dark: #000000;
JSON
{
  "hex": "#122249",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 73
  },
  "hsl": {
    "h": 222.545,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.26282,
    "c": 0.07579,
    "h": 264.9
  },
  "luminance": 0.01754
}

Semantic roles & 50–950 ramp

primary
#122249
secondary
#826C35
accent
#B544E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#040409
muted
#79797B

Preview Lab

Preview with #122249

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

Preview Lab → · Contrast checker → · Palette generator →

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