#122C5C#122C5C

#122C5C is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.092 H 261.4°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#122C5C
RGBrgb(18, 44, 92)
HSLhsl(219, 67%, 22%)
HSVhsv(219, 80%, 36%)
CMYKcmyk(80.4%, 52.2%, 0%, 63.9%)
CIE-LABlab(18.81, 9.39, -31.65)
CIE-LCHlch(18.81, 33.01, 286.52°)
OKLaboklab(30.32% -0.0138 -0.0909)
OKLCHoklch(30.32% 0.092 261.4)
XYZxyz(3.0812, 2.7023, 10.4824)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C5C #5C4212
analogous
#12515C #122C5C #1D125C
triadic
#122C5C #5C122C #2C5C12
tetradic
#122C5C #5C1251 #5C4212 #125C1D
square
#122C5C #5C1251 #5C4212 #125C1D
split-complementary
#122C5C #5C1D12 #515C12
monochromatic
#050C1A #081429 #122C5C #1C448F #265DC2

Accessibility & contrast

On white

13.63
#122C5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C5C
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C5C#FFFFFF#000000##FFFFFF
##122C5C1.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#11315E
Deuteranopia (green-blind)
#002B5B
Tritanopia (blue-blind)
#00373F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122c5c;
/* rgb */ color: rgb(18, 44, 92);
/* oklch */ color: oklch(30.3% 0.092 261.4);
Tailwind
colors: {
  custom: {
    50: '#5c648a',
    500: '#122c5c',
    950: '#000000',
  },
}
SCSS
$custom: #122c5c;
$custom-light: #5c648a;
$custom-dark: #000000;
JSON
{
  "hex": "#122c5c",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 218.919,
    "s": 67.273,
    "l": 21.569
  },
  "oklch": {
    "l": 0.30319,
    "c": 0.09194,
    "h": 261.4
  },
  "luminance": 0.02703
}

Semantic roles & 50–950 ramp

primary
#122C5C
secondary
#947335
accent
#AE3EEA
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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