#122A70#122A70

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

Color values

HEX#122A70
RGBrgb(18, 42, 112)
HSLhsl(225, 72%, 25%)
HSVhsv(225, 84%, 44%)
CMYKcmyk(83.9%, 62.5%, 0%, 56.1%)
CIE-LABlab(19.86, 19.37, -43.02)
CIE-LCHlch(19.86, 47.18, 294.24°)
OKLaboklab(31.63% -0.0103 -0.1244)
OKLCHoklch(31.63% 0.125 265.3)
XYZxyz(4.0010, 2.9539, 15.6854)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A70 #705812
analogous
#125970 #122A70 #291270
triadic
#122A70 #70122A #2A7012
tetradic
#122A70 #701259 #705812 #127029
square
#122A70 #701259 #705812 #127029
split-complementary
#122A70 #702912 #597012
monochromatic
#040A1A #0A163B #122A70 #1A3EA5 #2352D9

Accessibility & contrast

On white

13.20
#122A70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#122A70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A70
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A70#FFFFFF#000000##FFFFFF
##122A701.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003572
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122a70;
/* rgb */ color: rgb(18, 42, 112);
/* oklch */ color: oklch(31.6% 0.125 265.3);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#122a70',
    950: '#000000',
  },
}
SCSS
$custom: #122a70;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#122a70",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 112
  },
  "hsl": {
    "h": 224.681,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31633,
    "c": 0.1248,
    "h": 265.3
  },
  "luminance": 0.02954
}

Semantic roles & 50–950 ramp

primary
#122A70
secondary
#A78A37
accent
#C039EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122A70

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

Preview Lab → · Contrast checker → · Palette generator →

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