#122A68#122A68

#122A68 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.113 H 264.6°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#122A68
RGBrgb(18, 42, 104)
HSLhsl(223, 70%, 24%)
HSVhsv(223, 83%, 41%)
CMYKcmyk(82.7%, 59.6%, 0%, 59.2%)
CIE-LABlab(19.16, 16.00, -38.98)
CIE-LCHlch(19.16, 42.13, 292.31°)
OKLaboklab(30.89% -0.0107 -0.1125)
OKLCHoklch(30.89% 0.113 264.6)
XYZxyz(3.5752, 2.7836, 13.4429)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A68 #685012
analogous
#125568 #122A68 #251268
triadic
#122A68 #68122A #2A6812
tetradic
#122A68 #681255 #685012 #126825
square
#122A68 #681255 #685012 #126825
split-complementary
#122A68 #682512 #556812
monochromatic
#050B1A #091534 #122A68 #1B3F9C #2454D0

Accessibility & contrast

On white

13.49
#122A68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122A68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A68
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A68#FFFFFF#000000##FFFFFF
##122A681.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122a68;
/* rgb */ color: rgb(18, 42, 104);
/* oklch */ color: oklch(30.9% 0.113 264.6);
Tailwind
colors: {
  custom: {
    50: '#606394',
    500: '#122a68',
    950: '#000000',
  },
}
SCSS
$custom: #122a68;
$custom-light: #606394;
$custom-dark: #000000;
JSON
{
  "hex": "#122a68",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 223.256,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.30887,
    "c": 0.11301,
    "h": 264.6
  },
  "luminance": 0.02784
}

Semantic roles & 50–950 ramp

primary
#122A68
secondary
#A08236
accent
#BB3BED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122A68

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

Preview Lab → · Contrast checker → · Palette generator →

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