#122E63#122E63

#122E63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.4% C 0.100 H 261.6°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#122E63
RGBrgb(18, 46, 99)
HSLhsl(219, 69%, 23%)
HSVhsv(219, 82%, 39%)
CMYKcmyk(81.8%, 53.5%, 0%, 61.2%)
CIE-LABlab(19.98, 10.93, -34.38)
CIE-LCHlch(19.98, 36.07, 287.63°)
OKLaboklab(31.38% -0.0145 -0.0989)
OKLCHoklch(31.38% 0.1 261.6)
XYZxyz(3.4778, 2.9830, 12.1945)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E63 #634712
analogous
#125663 #122E63 #1E1263
triadic
#122E63 #63122E #2E6312
tetradic
#122E63 #631256 #634712 #12631E
square
#122E63 #631256 #634712 #12631E
split-complementary
#122E63 #631E12 #566312
monochromatic
#050C1A #09162F #122E63 #1B4697 #255ECB

Accessibility & contrast

On white

13.15
#122E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#122E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E63
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E63#FFFFFF#000000##FFFFFF
##122E631.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3465
Deuteranopia (green-blind)
#002D62
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122e63;
/* rgb */ color: rgb(18, 46, 99);
/* oklch */ color: oklch(31.4% 0.100 261.6);
Tailwind
colors: {
  custom: {
    50: '#5e6690',
    500: '#122e63',
    950: '#000000',
  },
}
SCSS
$custom: #122e63;
$custom-light: #5e6690;
$custom-dark: #000000;
JSON
{
  "hex": "#122e63",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 219.259,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31381,
    "c": 0.09995,
    "h": 261.6
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#122E63
secondary
#9B7836
accent
#AF3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122E63

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

Preview Lab → · Contrast checker → · Palette generator →

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