#122D68#122D68

#122D68 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.6% C 0.109 H 263.1°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#122D68
RGBrgb(18, 45, 104)
HSLhsl(221, 70%, 24%)
HSVhsv(221, 83%, 41%)
CMYKcmyk(82.7%, 56.7%, 0%, 59.2%)
CIE-LABlab(20.06, 13.80, -37.50)
CIE-LCHlch(20.06, 39.96, 290.20°)
OKLaboklab(31.57% -0.0131 -0.1081)
OKLCHoklch(31.57% 0.109 263.1)
XYZxyz(3.6856, 3.0044, 13.4797)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D68 #684D12
analogous
#125868 #122D68 #221268
triadic
#122D68 #68122D #2D6812
tetradic
#122D68 #681258 #684D12 #126822
square
#122D68 #681258 #684D12 #126822
split-complementary
#122D68 #682212 #586812
monochromatic
#050B1A #091634 #122D68 #1B449C #245AD0

Accessibility & contrast

On white

13.12
#122D68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D68
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D68#FFFFFF#000000##FFFFFF
##122D681.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01356A
Deuteranopia (green-blind)
#002D67
Tritanopia (blue-blind)
#003B45
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122d68;
/* rgb */ color: rgb(18, 45, 104);
/* oklch */ color: oklch(31.6% 0.109 263.1);
Tailwind
colors: {
  custom: {
    50: '#5f6594',
    500: '#122d68',
    950: '#000000',
  },
}
SCSS
$custom: #122d68;
$custom-light: #5f6594;
$custom-dark: #000000;
JSON
{
  "hex": "#122d68",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 104
  },
  "hsl": {
    "h": 221.163,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31571,
    "c": 0.1089,
    "h": 263.1
  },
  "luminance": 0.03005
}

Semantic roles & 50–950 ramp

primary
#122D68
secondary
#A07F36
accent
#B53BED
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05050D
muted
#7A7A7E

Preview Lab

Preview with #122D68

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

Preview Lab → · Contrast checker → · Palette generator →

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