#122D5A#122D5A

#122D5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.087 H 260.0°. Best body text is #FFFFFF at 13.56:1 contrast (WCAG AA passes).

Color values

HEX#122D5A
RGBrgb(18, 45, 90)
HSLhsl(218, 67%, 21%)
HSVhsv(218, 80%, 35%)
CMYKcmyk(80%, 50%, 0%, 64.7%)
CIE-LABlab(18.98, 7.79, -30.04)
CIE-LCHlch(18.98, 31.03, 284.54°)
OKLaboklab(30.41% -0.0151 -0.0861)
OKLCHoklch(30.41% 0.087 260)
XYZxyz(3.0326, 2.7432, 10.0405)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D5A #5A3F12
analogous
#12515A #122D5A #1B125A
triadic
#122D5A #5A122D #2D5A12
tetradic
#122D5A #5A1251 #5A3F12 #125A1B
square
#122D5A #5A1251 #5A3F12 #125A1B
split-complementary
#122D5A #5A1B12 #515A12
monochromatic
#050D1A #081327 #122D5A #1C468D #2660C0

Accessibility & contrast

On white

13.56
#122D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D5A
13.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D5A#FFFFFF#000000##FFFFFF
##122D5A1.0013.561.5513.56
#FFFFFF13.561.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#052B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122d5a;
/* rgb */ color: rgb(18, 45, 90);
/* oklch */ color: oklch(30.4% 0.087 260.0);
Tailwind
colors: {
  custom: {
    50: '#5c6589',
    500: '#122d5a',
    950: '#000000',
  },
}
SCSS
$custom: #122d5a;
$custom-light: #5c6589;
$custom-dark: #000000;
JSON
{
  "hex": "#122d5a",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 217.5,
    "s": 66.667,
    "l": 21.176
  },
  "oklch": {
    "l": 0.30406,
    "c": 0.08747,
    "h": 260
  },
  "luminance": 0.02744
}

Semantic roles & 50–950 ramp

primary
#122D5A
secondary
#937035
accent
#A93EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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