#122B76#122B76

#122B76 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.4% C 0.132 H 265.3°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#122B76
RGBrgb(18, 43, 118)
HSLhsl(225, 74%, 27%)
HSVhsv(225, 85%, 46%)
CMYKcmyk(84.7%, 63.6%, 0%, 53.7%)
CIE-LABlab(20.69, 21.15, -45.52)
CIE-LCHlch(20.69, 50.19, 294.92°)
OKLaboklab(32.42% -0.0108 -0.1317)
OKLCHoklch(32.42% 0.132 265.3)
XYZxyz(4.3822, 3.1638, 17.5157)
Luminance0.0316 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B76 #765D12
analogous
#125D76 #122B76 #2B1276
triadic
#122B76 #76122B #2B7612
tetradic
#122B76 #76125D #765D12 #12762B
square
#122B76 #76125D #765D12 #12762B
split-complementary
#122B76 #762B12 #5D7612
monochromatic
#040A1B #0A1841 #122B76 #1A3EAB #2553DE

Accessibility & contrast

On white

12.86
#122B76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#122B76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B76
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B76#FFFFFF#000000##FFFFFF
##122B761.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003778
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#003E4C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122b76;
/* rgb */ color: rgb(18, 43, 118);
/* oklch */ color: oklch(32.4% 0.132 265.3);
Tailwind
colors: {
  custom: {
    50: '#64639e',
    500: '#122b76',
    950: '#000000',
  },
}
SCSS
$custom: #122b76;
$custom-light: #64639e;
$custom-dark: #000000;
JSON
{
  "hex": "#122b76",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 118
  },
  "hsl": {
    "h": 225,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.32422,
    "c": 0.13213,
    "h": 265.3
  },
  "luminance": 0.03164
}

Semantic roles & 50–950 ramp

primary
#122B76
secondary
#AD8F37
accent
#C238F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122B76

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

Preview Lab → · Contrast checker → · Palette generator →

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