#122C5D#122C5D

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

Color values

HEX#122C5D
RGBrgb(18, 44, 93)
HSLhsl(219, 68%, 22%)
HSVhsv(219, 81%, 36%)
CMYKcmyk(80.6%, 52.7%, 0%, 63.5%)
CIE-LABlab(18.89, 9.82, -32.19)
CIE-LCHlch(18.89, 33.65, 286.96°)
OKLaboklab(30.4% -0.0136 -0.0925)
OKLCHoklch(30.4% 0.093 261.6)
XYZxyz(3.1252, 2.7199, 10.7141)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C5D #5D4312
analogous
#12525D #122C5D #1E125D
triadic
#122C5D #5D122C #2C5D12
tetradic
#122C5D #5D1252 #5D4312 #125D1E
square
#122C5D #5D1252 #5D4312 #125D1E
split-complementary
#122C5D #5D1E12 #525D12
monochromatic
#050C1A #08142A #122C5D #1C4490 #265DC4

Accessibility & contrast

On white

13.60
#122C5D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C5D
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C5D#FFFFFF#000000##FFFFFF
##122C5D1.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10325F
Deuteranopia (green-blind)
#002B5C
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122c5d;
/* rgb */ color: rgb(18, 44, 93);
/* oklch */ color: oklch(30.4% 0.093 261.6);
Tailwind
colors: {
  custom: {
    50: '#5c648b',
    500: '#122c5d',
    950: '#000000',
  },
}
SCSS
$custom: #122c5d;
$custom-light: #5c648b;
$custom-dark: #000000;
JSON
{
  "hex": "#122c5d",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 219.2,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.30401,
    "c": 0.09349,
    "h": 261.6
  },
  "luminance": 0.0272
}

Semantic roles & 50–950 ramp

primary
#122C5D
secondary
#957435
accent
#AE3DEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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