#122A61#122A61

#122A61 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.102 H 263.7°. Best body text is #FFFFFF at 13.73:1 contrast (WCAG AA passes).

Color values

HEX#122A61
RGBrgb(18, 42, 97)
HSLhsl(222, 69%, 23%)
HSVhsv(222, 81%, 38%)
CMYKcmyk(81.4%, 56.7%, 0%, 62%)
CIE-LABlab(18.57, 13.01, -35.33)
CIE-LCHlch(18.57, 37.65, 290.21°)
OKLaboklab(30.26% -0.0113 -0.1018)
OKLCHoklch(30.26% 0.102 263.7)
XYZxyz(3.2343, 2.6472, 11.6475)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A61 #614912
analogous
#125261 #122A61 #211261
triadic
#122A61 #61122A #2A6112
tetradic
#122A61 #611252 #614912 #126121
square
#122A61 #611252 #614912 #126121
split-complementary
#122A61 #612112 #526112
monochromatic
#050B1A #08142D #122A61 #1C4095 #2557C8

Accessibility & contrast

On white

13.73
#122A61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122A61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122A61
13.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A61#FFFFFF#000000##FFFFFF
##122A611.0013.731.5313.73
#FFFFFF13.731.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033163
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#003741
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122a61;
/* rgb */ color: rgb(18, 42, 97);
/* oklch */ color: oklch(30.3% 0.102 263.7);
Tailwind
colors: {
  custom: {
    50: '#5e638e',
    500: '#122a61',
    950: '#000000',
  },
}
SCSS
$custom: #122a61;
$custom-light: #5e638e;
$custom-dark: #000000;
JSON
{
  "hex": "#122a61",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 97
  },
  "hsl": {
    "h": 221.772,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30261,
    "c": 0.10242,
    "h": 263.7
  },
  "luminance": 0.02648
}

Semantic roles & 50–950 ramp

primary
#122A61
secondary
#997B36
accent
#B63CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122A61

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

Preview Lab → · Contrast checker → · Palette generator →

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