#122D61#122D61

#122D61 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.0% C 0.098 H 261.8°. Best body text is #FFFFFF at 13.35:1 contrast (WCAG AA passes).

Color values

HEX#122D61
RGBrgb(18, 45, 97)
HSLhsl(219, 69%, 23%)
HSVhsv(219, 81%, 38%)
CMYKcmyk(81.4%, 53.6%, 0%, 62%)
CIE-LABlab(19.51, 10.80, -33.82)
CIE-LCHlch(19.51, 35.50, 287.71°)
OKLaboklab(30.97% -0.0139 -0.0973)
OKLCHoklch(30.97% 0.098 261.8)
XYZxyz(3.3447, 2.8681, 11.6843)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D61 #614612
analogous
#125461 #122D61 #1F1261
triadic
#122D61 #61122D #2D6112
tetradic
#122D61 #611254 #614612 #12611F
square
#122D61 #611254 #614612 #12611F
split-complementary
#122D61 #611F12 #546112
monochromatic
#050C1A #08152D #122D61 #1C4595 #255DC8

Accessibility & contrast

On white

13.35
#122D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#122D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D61
13.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D61#FFFFFF#000000##FFFFFF
##122D611.0013.351.5713.35
#FFFFFF13.351.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122d61;
/* rgb */ color: rgb(18, 45, 97);
/* oklch */ color: oklch(31.0% 0.098 261.8);
Tailwind
colors: {
  custom: {
    50: '#5d658e',
    500: '#122d61',
    950: '#000000',
  },
}
SCSS
$custom: #122d61;
$custom-light: #5d658e;
$custom-dark: #000000;
JSON
{
  "hex": "#122d61",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 97
  },
  "hsl": {
    "h": 219.494,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30974,
    "c": 0.09828,
    "h": 261.8
  },
  "luminance": 0.02868
}

Semantic roles & 50–950 ramp

primary
#122D61
secondary
#997736
accent
#B03CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122D61

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

Preview Lab → · Contrast checker → · Palette generator →

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