#122A5B#122A5B

#122A5B is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.093 H 262.5°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#122A5B
RGBrgb(18, 42, 91)
HSLhsl(220, 67%, 21%)
HSVhsv(220, 80%, 36%)
CMYKcmyk(80.2%, 53.8%, 0%, 64.3%)
CIE-LABlab(18.10, 10.43, -32.13)
CIE-LCHlch(18.10, 33.78, 287.99°)
OKLaboklab(29.75% -0.0121 -0.0924)
OKLCHoklch(29.75% 0.093 262.5)
XYZxyz(2.9651, 2.5395, 10.2294)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A5B #5B4312
analogous
#124F5B #122A5B #1F125B
triadic
#122A5B #5B122A #2A5B12
tetradic
#122A5B #5B124F #5B4312 #125B1F
square
#122A5B #5B124F #5B4312 #125B1F
split-complementary
#122A5B #5B1F12 #4F5B12
monochromatic
#050C1A #081228 #122A5B #1C428E #2659C1

Accessibility & contrast

On white

13.93
#122A5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#122A5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A5B
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A5B#FFFFFF#000000##FFFFFF
##122A5B1.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D305D
Deuteranopia (green-blind)
#00295A
Tritanopia (blue-blind)
#00363E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122a5b;
/* rgb */ color: rgb(18, 42, 91);
/* oklch */ color: oklch(29.7% 0.093 262.5);
Tailwind
colors: {
  custom: {
    50: '#5c638a',
    500: '#122a5b',
    950: '#000000',
  },
}
SCSS
$custom: #122a5b;
$custom-light: #5c638a;
$custom-dark: #000000;
JSON
{
  "hex": "#122a5b",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 91
  },
  "hsl": {
    "h": 220.274,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.29749,
    "c": 0.09316,
    "h": 262.5
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#122A5B
secondary
#937535
accent
#B13EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122A5B

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

Preview Lab → · Contrast checker → · Palette generator →

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