#122E5E#122E5E

#122E5E is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.092 H 260.4°. Best body text is #FFFFFF at 13.31:1 contrast (WCAG AA passes).

Color values

HEX#122E5E
RGBrgb(18, 46, 94)
HSLhsl(218, 68%, 22%)
HSVhsv(218, 81%, 37%)
CMYKcmyk(80.9%, 51.1%, 0%, 63.1%)
CIE-LABlab(19.60, 8.78, -31.70)
CIE-LCHlch(19.60, 32.89, 285.48°)
OKLaboklab(30.97% -0.0153 -0.091)
OKLCHoklch(30.97% 0.092 260.4)
XYZxyz(3.2461, 2.8904, 10.9743)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E5E #5E4212
analogous
#12545E #122E5E #1C125E
triadic
#122E5E #5E122E #2E5E12
tetradic
#122E5E #5E1254 #5E4212 #125E1C
square
#122E5E #5E1254 #5E4212 #125E1C
split-complementary
#122E5E #5E1C12 #545E12
monochromatic
#050D1A #08152B #122E5E #1C4791 #2660C5

Accessibility & contrast

On white

13.31
#122E5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122E5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122E5E
13.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E5E#FFFFFF#000000##FFFFFF
##122E5E1.0013.311.5813.31
#FFFFFF13.311.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#133360
Deuteranopia (green-blind)
#012C5D
Tritanopia (blue-blind)
#003941
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122e5e;
/* rgb */ color: rgb(18, 46, 94);
/* oklch */ color: oklch(31.0% 0.092 260.4);
Tailwind
colors: {
  custom: {
    50: '#5d668c',
    500: '#122e5e',
    950: '#000000',
  },
}
SCSS
$custom: #122e5e;
$custom-light: #5d668c;
$custom-dark: #000000;
JSON
{
  "hex": "#122e5e",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 94
  },
  "hsl": {
    "h": 217.895,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30972,
    "c": 0.09229,
    "h": 260.4
  },
  "luminance": 0.02891
}

Semantic roles & 50–950 ramp

primary
#122E5E
secondary
#967335
accent
#AB3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122E5E

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

Preview Lab → · Contrast checker → · Palette generator →

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