#122045#122045

#122045 is a dark, moderate blue. Relative luminance 0.016; OKLCH L 25.5% C 0.072 H 265.9°. Best body text is #FFFFFF at 15.93:1 contrast (WCAG AA passes).

Color values

HEX#122045
RGBrgb(18, 32, 69)
HSLhsl(224, 59%, 17%)
HSVhsv(224, 74%, 27%)
CMYKcmyk(73.9%, 53.6%, 0%, 72.9%)
CIE-LABlab(13.18, 8.49, -25.12)
CIE-LCHlch(13.18, 26.51, 288.68°)
OKLaboklab(25.45% -0.0052 -0.0719)
OKLCHoklch(25.45% 0.072 265.9)
XYZxyz(1.8398, 1.5911, 5.8392)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122045 #453712
analogous
#123A45 #122045 #1D1245
triadic
#122045 #451220 #204512
tetradic
#122045 #45123A #453712 #12451D
square
#122045 #45123A #453712 #12451D
split-complementary
#122045 #451D12 #3A4512
monochromatic
#060B18 #060B18 #122045 #1F3776 #2B4DA6

Accessibility & contrast

On white

15.93
#122045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#122045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122045
15.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122045#FFFFFF#000000##FFFFFF
##1220451.0015.931.3215.93
#FFFFFF15.931.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2446
Deuteranopia (green-blind)
#042044
Tritanopia (blue-blind)
#00292F
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #122045;
/* rgb */ color: rgb(18, 32, 69);
/* oklch */ color: oklch(25.5% 0.072 265.9);
Tailwind
colors: {
  custom: {
    50: '#575b79',
    500: '#122045',
    950: '#000000',
  },
}
SCSS
$custom: #122045;
$custom-light: #575b79;
$custom-dark: #000000;
JSON
{
  "hex": "#122045",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 223.529,
    "s": 58.621,
    "l": 17.059
  },
  "oklch": {
    "l": 0.25451,
    "c": 0.07211,
    "h": 265.9
  },
  "luminance": 0.01591
}

Semantic roles & 50–950 ramp

primary
#122045
secondary
#7E6A35
accent
#B746E2
background
#F5F5F7
surface
#E9E9ED
border
#C5C5C8
text
#030409
muted
#78797B

Preview Lab

Preview with #122045

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

Preview Lab → · Contrast checker → · Palette generator →

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