#122E60#122E60

#122E60 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.095 H 260.9°. Best body text is #FFFFFF at 13.25:1 contrast (WCAG AA passes).

Color values

HEX#122E60
RGBrgb(18, 46, 96)
HSLhsl(218, 68%, 22%)
HSVhsv(218, 81%, 38%)
CMYKcmyk(81.3%, 52.1%, 0%, 62.4%)
CIE-LABlab(19.75, 9.64, -32.78)
CIE-LCHlch(19.75, 34.16, 286.38°)
OKLaboklab(31.13% -0.015 -0.0942)
OKLCHoklch(31.13% 0.095 260.9)
XYZxyz(3.3370, 2.9267, 11.4531)
Luminance0.0293 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122E60 #604412
analogous
#125560 #122E60 #1D1260
triadic
#122E60 #60122E #2E6012
tetradic
#122E60 #601255 #604412 #12601D
square
#122E60 #601255 #604412 #12601D
split-complementary
#122E60 #601D12 #556012
monochromatic
#050C1A #08152C #122E60 #1C4794 #255FC7

Accessibility & contrast

On white

13.25
#122E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122E60
13.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122E60#FFFFFF#000000##FFFFFF
##122E601.0013.251.5913.25
#FFFFFF13.251.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122e60;
/* rgb */ color: rgb(18, 46, 96);
/* oklch */ color: oklch(31.1% 0.095 260.9);
Tailwind
colors: {
  custom: {
    50: '#5d668d',
    500: '#122e60',
    950: '#000000',
  },
}
SCSS
$custom: #122e60;
$custom-light: #5d668d;
$custom-dark: #000000;
JSON
{
  "hex": "#122e60",
  "rgb": {
    "r": 18,
    "g": 46,
    "b": 96
  },
  "hsl": {
    "h": 218.462,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31134,
    "c": 0.09537,
    "h": 260.9
  },
  "luminance": 0.02927
}

Semantic roles & 50–950 ramp

primary
#122E60
secondary
#987536
accent
#AD3DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122E60

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

Preview Lab → · Contrast checker → · Palette generator →

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