#122B70#122B70

#122B70 is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.123 H 264.9°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#122B70
RGBrgb(18, 43, 112)
HSLhsl(224, 72%, 25%)
HSVhsv(224, 84%, 44%)
CMYKcmyk(83.9%, 61.6%, 0%, 56.1%)
CIE-LABlab(20.15, 18.65, -42.55)
CIE-LCHlch(20.15, 46.46, 293.67°)
OKLaboklab(31.85% -0.011 -0.123)
OKLCHoklch(31.85% 0.123 264.9)
XYZxyz(4.0369, 3.0257, 15.6974)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B70 #705712
analogous
#125A70 #122B70 #281270
triadic
#122B70 #70122B #2B7012
tetradic
#122B70 #70125A #705712 #127028
square
#122B70 #70125A #705712 #127028
split-complementary
#122B70 #702812 #5A7012
monochromatic
#040A1A #0A173B #122B70 #1A3FA5 #2353D9

Accessibility & contrast

On white

13.08
#122B70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#122B70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B70
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B70#FFFFFF#000000##FFFFFF
##122B701.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b70;
/* rgb */ color: rgb(18, 43, 112);
/* oklch */ color: oklch(31.8% 0.123 264.9);
Tailwind
colors: {
  custom: {
    50: '#62639a',
    500: '#122b70',
    950: '#000000',
  },
}
SCSS
$custom: #122b70;
$custom-light: #62639a;
$custom-dark: #000000;
JSON
{
  "hex": "#122b70",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 112
  },
  "hsl": {
    "h": 224.043,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.31849,
    "c": 0.12346,
    "h": 264.9
  },
  "luminance": 0.03026
}

Semantic roles & 50–950 ramp

primary
#122B70
secondary
#A78937
accent
#BF39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122B70

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

Preview Lab → · Contrast checker → · Palette generator →

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