#122D5B#122D5B

#122D5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.089 H 260.3°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#122D5B
RGBrgb(18, 45, 91)
HSLhsl(218, 67%, 21%)
HSVhsv(218, 80%, 36%)
CMYKcmyk(80.2%, 50.5%, 0%, 64.3%)
CIE-LABlab(19.06, 8.22, -30.58)
CIE-LCHlch(19.06, 31.67, 285.04°)
OKLaboklab(30.49% -0.0149 -0.0877)
OKLCHoklch(30.49% 0.089 260.3)
XYZxyz(3.0755, 2.7604, 10.2662)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D5B #5B4012
analogous
#12525B #122D5B #1C125B
triadic
#122D5B #5B122D #2D5B12
tetradic
#122D5B #5B1252 #5B4012 #125B1C
square
#122D5B #5B1252 #5B4012 #125B1C
split-complementary
#122D5B #5B1C12 #525B12
monochromatic
#050D1A #081428 #122D5B #1C468E #2660C1

Accessibility & contrast

On white

13.53
#122D5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122D5B
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D5B#FFFFFF#000000##FFFFFF
##122D5B1.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14325D
Deuteranopia (green-blind)
#032B5A
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122d5b;
/* rgb */ color: rgb(18, 45, 91);
/* oklch */ color: oklch(30.5% 0.089 260.3);
Tailwind
colors: {
  custom: {
    50: '#5c658a',
    500: '#122d5b',
    950: '#000000',
  },
}
SCSS
$custom: #122d5b;
$custom-light: #5c658a;
$custom-dark: #000000;
JSON
{
  "hex": "#122d5b",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 91
  },
  "hsl": {
    "h": 217.808,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30485,
    "c": 0.08901,
    "h": 260.3
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#122D5B
secondary
#937135
accent
#AA3EEA
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #122D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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