#122E76#122E76

#122E76 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.128 H 264.3°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#122E76
RGBrgb(18, 46, 118)
HSLhsl(223, 74%, 27%)
HSVhsv(223, 85%, 46%)
CMYKcmyk(84.7%, 61%, 0%, 53.7%)
CIE-LABlab(21.54, 19.00, -44.12)
CIE-LCHlch(21.54, 48.04, 293.29°)
OKLaboklab(33.06% -0.0128 -0.1275)
OKLCHoklch(33.06% 0.128 264.3)
XYZxyz(4.4953, 3.3901, 17.5535)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E76 #765A12
analogous
#126076 #122E76 #281276
triadic
#122E76 #76122E #2E7612
tetradic
#122E76 #761260 #765A12 #127628
square
#122E76 #761260 #765A12 #127628
split-complementary
#122E76 #762812 #607612
monochromatic
#040A1B #0A1941 #122E76 #1A43AB #2559DE

Accessibility & contrast

On white

12.51
#122E76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#122E76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E76
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E76#FFFFFF#000000##FFFFFF
##122E761.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003878
Deuteranopia (green-blind)
#002F75
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #122e76;
/* rgb */ color: rgb(18, 46, 118);
/* oklch */ color: oklch(33.1% 0.128 264.3);
Tailwind
colors: {
  custom: {
    50: '#63669e',
    500: '#122e76',
    950: '#000000',
  },
}
SCSS
$custom: #122e76;
$custom-light: #63669e;
$custom-dark: #000000;
JSON
{
  "hex": "#122e76",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 118
  },
  "hsl": {
    "h": 223.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3306,
    "c": 0.12818,
    "h": 264.3
  },
  "luminance": 0.03391
}

Semantic roles & 50–950 ramp

primary
#122E76
secondary
#AD8C37
accent
#BD38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122E76

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

Preview Lab → · Contrast checker → · Palette generator →

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