#122E79#122E79

#122E79 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.3% C 0.132 H 264.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#122E79
RGBrgb(18, 46, 121)
HSLhsl(224, 74%, 27%)
HSVhsv(224, 85%, 47%)
CMYKcmyk(85.1%, 62%, 0%, 52.5%)
CIE-LABlab(21.81, 20.25, -45.60)
CIE-LCHlch(21.81, 49.89, 293.94°)
OKLaboklab(33.34% -0.0127 -0.1319)
OKLCHoklch(33.34% 0.132 264.5)
XYZxyz(4.6764, 3.4625, 18.5073)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E79 #795D12
analogous
#126279 #122E79 #291279
triadic
#122E79 #79122E #2E7912
tetradic
#122E79 #791262 #795D12 #127929
square
#122E79 #791262 #795D12 #127929
split-complementary
#122E79 #792912 #627912
monochromatic
#040A1B #0A1A44 #122E79 #1A42AE #2759DF

Accessibility & contrast

On white

12.41
#122E79 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#122E79 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E79
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E79#FFFFFF#000000##FFFFFF
##122E791.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00397B
Deuteranopia (green-blind)
#003078
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #122e79;
/* rgb */ color: rgb(18, 46, 121);
/* oklch */ color: oklch(33.3% 0.132 264.5);
Tailwind
colors: {
  custom: {
    50: '#6466a0',
    500: '#122e79',
    950: '#000000',
  },
}
SCSS
$custom: #122e79;
$custom-light: #6466a0;
$custom-dark: #000000;
JSON
{
  "hex": "#122e79",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 223.689,
    "s": 74.101,
    "l": 27.255
  },
  "oklch": {
    "l": 0.33341,
    "c": 0.13249,
    "h": 264.5
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#122E79
secondary
#AF8F38
accent
#BE37F1
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050F
muted
#7A7A7E

Preview Lab

Preview with #122E79

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

Preview Lab → · Contrast checker → · Palette generator →

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