#122E70#122E70

#122E70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.119 H 263.7°. Best body text is #FFFFFF at 12.72:1 contrast (WCAG AA passes).

Color values

HEX#122E70
RGBrgb(18, 46, 112)
HSLhsl(222, 72%, 25%)
HSVhsv(222, 84%, 44%)
CMYKcmyk(83.9%, 58.9%, 0%, 56.1%)
CIE-LABlab(21.03, 16.47, -41.12)
CIE-LCHlch(21.03, 44.29, 291.83°)
OKLaboklab(32.51% -0.0131 -0.1187)
OKLCHoklch(32.51% 0.119 263.7)
XYZxyz(4.1500, 3.2519, 15.7351)
Luminance0.0325 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E70 #705412
analogous
#125D70 #122E70 #251270
triadic
#122E70 #70122E #2E7012
tetradic
#122E70 #70125D #705412 #127025
square
#122E70 #70125D #705412 #127025
split-complementary
#122E70 #702512 #5D7012
monochromatic
#040B1A #0A183B #122E70 #1A44A5 #2359D9

Accessibility & contrast

On white

12.72
#122E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#122E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E70
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E70#FFFFFF#000000##FFFFFF
##122E701.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003772
Deuteranopia (green-blind)
#002E6F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122e70;
/* rgb */ color: rgb(18, 46, 112);
/* oklch */ color: oklch(32.5% 0.119 263.7);
Tailwind
colors: {
  custom: {
    50: '#62669a',
    500: '#122e70',
    950: '#000000',
  },
}
SCSS
$custom: #122e70;
$custom-light: #62669a;
$custom-dark: #000000;
JSON
{
  "hex": "#122e70",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 112
  },
  "hsl": {
    "h": 222.128,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3251,
    "c": 0.11944,
    "h": 263.7
  },
  "luminance": 0.03252
}

Semantic roles & 50–950 ramp

primary
#122E70
secondary
#A78637
accent
#B939EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122E70

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

Preview Lab → · Contrast checker → · Palette generator →

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