#122E61#122E61

#122E61 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.2% C 0.097 H 261.2°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#122E61
RGBrgb(18, 46, 97)
HSLhsl(219, 69%, 23%)
HSVhsv(219, 81%, 38%)
CMYKcmyk(81.4%, 52.6%, 0%, 62%)
CIE-LABlab(19.82, 10.06, -33.31)
CIE-LCHlch(19.82, 34.80, 286.81°)
OKLaboklab(31.22% -0.0148 -0.0957)
OKLCHoklch(31.22% 0.097 261.2)
XYZxyz(3.3833, 2.9453, 11.6971)
Luminance0.0295 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E61 #614512
analogous
#125661 #122E61 #1D1261
triadic
#122E61 #61122E #2E6112
tetradic
#122E61 #611256 #614512 #12611D
square
#122E61 #611256 #614512 #12611D
split-complementary
#122E61 #611D12 #566112
monochromatic
#050C1A #08162D #122E61 #1C4695 #255FC8

Accessibility & contrast

On white

13.21
#122E61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122E61
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E61#FFFFFF#000000##FFFFFF
##122E611.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103463
Deuteranopia (green-blind)
#002D60
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122e61;
/* rgb */ color: rgb(18, 46, 97);
/* oklch */ color: oklch(31.2% 0.097 261.2);
Tailwind
colors: {
  custom: {
    50: '#5d668e',
    500: '#122e61',
    950: '#000000',
  },
}
SCSS
$custom: #122e61;
$custom-light: #5d668e;
$custom-dark: #000000;
JSON
{
  "hex": "#122e61",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 218.734,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.31215,
    "c": 0.09689,
    "h": 261.2
  },
  "luminance": 0.02946
}

Semantic roles & 50–950 ramp

primary
#122E61
secondary
#997636
accent
#AD3CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122E61

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

Preview Lab → · Contrast checker → · Palette generator →

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