#122B71#122B71

#122B71 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.9% C 0.125 H 265.0°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#122B71
RGBrgb(18, 43, 113)
HSLhsl(224, 73%, 26%)
HSVhsv(224, 84%, 44%)
CMYKcmyk(84.1%, 61.9%, 0%, 55.7%)
CIE-LABlab(20.24, 19.07, -43.05)
CIE-LCHlch(20.24, 47.08, 293.89°)
OKLaboklab(31.94% -0.011 -0.1244)
OKLCHoklch(31.94% 0.125 265)
XYZxyz(4.0929, 3.0481, 15.9922)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B71 #715812
analogous
#125A71 #122B71 #291271
triadic
#122B71 #71122B #2B7112
tetradic
#122B71 #71125A #715812 #127129
square
#122B71 #71125A #715812 #127129
split-complementary
#122B71 #712912 #5A7112
monochromatic
#040A1A #0A173C #122B71 #1A3FA6 #2353DB

Accessibility & contrast

On white

13.05
#122B71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#122B71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B71
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B71#FFFFFF#000000##FFFFFF
##122B711.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003573
Deuteranopia (green-blind)
#002D70
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122b71;
/* rgb */ color: rgb(18, 43, 113);
/* oklch */ color: oklch(31.9% 0.125 265.0);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#122b71',
    950: '#000000',
  },
}
SCSS
$custom: #122b71;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#122b71",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 224.211,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.31943,
    "c": 0.12492,
    "h": 265
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#122B71
secondary
#A88A37
accent
#BF39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122B71

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

Preview Lab → · Contrast checker → · Palette generator →

#122B71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva