#122445#122445

#122445 is a dark, moderate blue. Relative luminance 0.018; OKLCH L 26.5% C 0.066 H 261.5°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#122445
RGBrgb(18, 36, 69)
HSLhsl(219, 59%, 17%)
HSVhsv(219, 74%, 27%)
CMYKcmyk(73.9%, 47.8%, 0%, 72.9%)
CIE-LABlab(14.51, 5.46, -22.98)
CIE-LCHlch(14.51, 23.62, 283.36°)
OKLaboklab(26.48% -0.0098 -0.0656)
OKLCHoklch(26.48% 0.066 261.5)
XYZxyz(1.9541, 1.8198, 5.8774)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122445 #453312
analogous
#123E45 #122445 #1A1245
triadic
#122445 #451224 #244512
tetradic
#122445 #45123E #453312 #12451A
square
#122445 #45123E #453312 #12451A
split-complementary
#122445 #451A12 #3E4512
monochromatic
#060D18 #060D18 #122445 #1F3D76 #2B57A6

Accessibility & contrast

On white

15.40
#122445 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#122445 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122445
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122445#FFFFFF#000000##FFFFFF
##1224451.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#152746
Deuteranopia (green-blind)
#0C2244
Tritanopia (blue-blind)
#002C31
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122445;
/* rgb */ color: rgb(18, 36, 69);
/* oklch */ color: oklch(26.5% 0.066 261.5);
Tailwind
colors: {
  custom: {
    50: '#575e79',
    500: '#122445',
    950: '#000000',
  },
}
SCSS
$custom: #122445;
$custom-light: #575e79;
$custom-dark: #000000;
JSON
{
  "hex": "#122445",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 69
  },
  "hsl": {
    "h": 218.824,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.26477,
    "c": 0.0663,
    "h": 261.5
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#122445
secondary
#7E6435
accent
#AB46E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122445

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

Preview Lab → · Contrast checker → · Palette generator →

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