#122C5B#122C5B

#122C5B is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.2% C 0.090 H 261.1°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#122C5B
RGBrgb(18, 44, 91)
HSLhsl(219, 67%, 21%)
HSVhsv(219, 80%, 36%)
CMYKcmyk(80.2%, 51.6%, 0%, 64.3%)
CIE-LABlab(18.74, 8.95, -31.10)
CIE-LCHlch(18.74, 32.37, 286.06°)
OKLaboklab(30.24% -0.014 -0.0893)
OKLCHoklch(30.24% 0.09 261.1)
XYZxyz(3.0378, 2.6850, 10.2536)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C5B #5B4112
analogous
#12515B #122C5B #1D125B
triadic
#122C5B #5B122C #2C5B12
tetradic
#122C5B #5B1251 #5B4112 #125B1D
square
#122C5B #5B1251 #5B4112 #125B1D
split-complementary
#122C5B #5B1D12 #515B12
monochromatic
#050C1A #081328 #122C5B #1C458E #265DC1

Accessibility & contrast

On white

13.66
#122C5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122C5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C5B
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C5B#FFFFFF#000000##FFFFFF
##122C5B1.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12315D
Deuteranopia (green-blind)
#002A5A
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122c5b;
/* rgb */ color: rgb(18, 44, 91);
/* oklch */ color: oklch(30.2% 0.090 261.1);
Tailwind
colors: {
  custom: {
    50: '#5c648a',
    500: '#122c5b',
    950: '#000000',
  },
}
SCSS
$custom: #122c5b;
$custom-light: #5c648a;
$custom-dark: #000000;
JSON
{
  "hex": "#122c5b",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 218.63,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.30237,
    "c": 0.09039,
    "h": 261.1
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#122C5B
secondary
#937235
accent
#AD3EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#04050B
muted
#79797C

Preview Lab

Preview with #122C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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