#122245#122245

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

Color values

HEX#122245
RGBrgb(18, 34, 69)
HSLhsl(221, 59%, 17%)
HSVhsv(221, 74%, 27%)
CMYKcmyk(73.9%, 50.7%, 0%, 72.9%)
CIE-LABlab(13.84, 6.97, -24.05)
CIE-LCHlch(13.84, 25.04, 286.16°)
OKLaboklab(25.96% -0.0075 -0.0688)
OKLCHoklch(25.96% 0.069 263.8)
XYZxyz(1.8953, 1.7021, 5.8577)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122245 #453512
analogous
#123C45 #122245 #1B1245
triadic
#122245 #451222 #224512
tetradic
#122245 #45123C #453512 #12451B
square
#122245 #45123C #453512 #12451B
split-complementary
#122245 #451B12 #3C4512
monochromatic
#060C18 #060C18 #122245 #1F3A76 #2B52A6

Accessibility & contrast

On white

15.67
#122245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122245
15.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122245#FFFFFF#000000##FFFFFF
##1222451.0015.671.3415.67
#FFFFFF15.671.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122245;
/* rgb */ color: rgb(18, 34, 69);
/* oklch */ color: oklch(26.0% 0.069 263.8);
Tailwind
colors: {
  custom: {
    50: '#575c79',
    500: '#122245',
    950: '#000000',
  },
}
SCSS
$custom: #122245;
$custom-light: #575c79;
$custom-dark: #000000;
JSON
{
  "hex": "#122245",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 69
  },
  "hsl": {
    "h": 221.176,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25959,
    "c": 0.06917,
    "h": 263.8
  },
  "luminance": 0.01702
}

Semantic roles & 50–950 ramp

primary
#122245
secondary
#7E6735
accent
#B146E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122245

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

Preview Lab → · Contrast checker → · Palette generator →

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