#122C61#122C61

#122C61 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.100 H 262.5°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#122C61
RGBrgb(18, 44, 97)
HSLhsl(220, 69%, 23%)
HSVhsv(220, 81%, 38%)
CMYKcmyk(81.4%, 54.6%, 0%, 62%)
CIE-LABlab(19.19, 11.53, -34.33)
CIE-LCHlch(19.19, 36.21, 288.57°)
OKLaboklab(30.73% -0.0131 -0.0988)
OKLCHoklch(30.73% 0.1 262.5)
XYZxyz(3.3070, 2.7927, 11.6717)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C61 #614712
analogous
#125461 #122C61 #1F1261
triadic
#122C61 #61122C #2C6112
tetradic
#122C61 #611254 #614712 #12611F
square
#122C61 #611254 #614712 #12611F
split-complementary
#122C61 #611F12 #546112
monochromatic
#050C1A #08152D #122C61 #1C4395 #255BC8

Accessibility & contrast

On white

13.47
#122C61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122C61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C61
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C61#FFFFFF#000000##FFFFFF
##122C611.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3263
Deuteranopia (green-blind)
#002B60
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122c61;
/* rgb */ color: rgb(18, 44, 97);
/* oklch */ color: oklch(30.7% 0.100 262.5);
Tailwind
colors: {
  custom: {
    50: '#5d648e',
    500: '#122c61',
    950: '#000000',
  },
}
SCSS
$custom: #122c61;
$custom-light: #5d648e;
$custom-dark: #000000;
JSON
{
  "hex": "#122c61",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 97
  },
  "hsl": {
    "h": 220.253,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30734,
    "c": 0.09965,
    "h": 262.5
  },
  "luminance": 0.02793
}

Semantic roles & 50–950 ramp

primary
#122C61
secondary
#997836
accent
#B23CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122C61

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

Preview Lab → · Contrast checker → · Palette generator →

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