#122A60#122A60

#122A60 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.2% C 0.101 H 263.5°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#122A60
RGBrgb(18, 42, 96)
HSLhsl(222, 68%, 22%)
HSVhsv(222, 81%, 38%)
CMYKcmyk(81.3%, 56.3%, 0%, 62.4%)
CIE-LABlab(18.49, 12.58, -34.81)
CIE-LCHlch(18.49, 37.01, 289.87°)
OKLaboklab(30.17% -0.0114 -0.1002)
OKLCHoklch(30.17% 0.101 263.5)
XYZxyz(3.1880, 2.6287, 11.4034)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A60 #604812
analogous
#125160 #122A60 #211260
triadic
#122A60 #60122A #2A6012
tetradic
#122A60 #601251 #604812 #126021
square
#122A60 #601251 #604812 #126021
split-complementary
#122A60 #602112 #516012
monochromatic
#050B1A #08132C #122A60 #1C4194 #2557C7

Accessibility & contrast

On white

13.76
#122A60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122A60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A60
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A60#FFFFFF#000000##FFFFFF
##122A601.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043162
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#003740
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122a60;
/* rgb */ color: rgb(18, 42, 96);
/* oklch */ color: oklch(30.2% 0.101 263.5);
Tailwind
colors: {
  custom: {
    50: '#5d638e',
    500: '#122a60',
    950: '#000000',
  },
}
SCSS
$custom: #122a60;
$custom-light: #5d638e;
$custom-dark: #000000;
JSON
{
  "hex": "#122a60",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 96
  },
  "hsl": {
    "h": 221.538,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.10089,
    "h": 263.5
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#122A60
secondary
#987A36
accent
#B63DEB
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122A60

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

Preview Lab → · Contrast checker → · Palette generator →

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