#122A63#122A63

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

Color values

HEX#122A63
RGBrgb(18, 42, 99)
HSLhsl(222, 69%, 23%)
HSVhsv(222, 82%, 39%)
CMYKcmyk(81.8%, 57.6%, 0%, 61.2%)
CIE-LABlab(18.74, 13.87, -36.38)
CIE-LCHlch(18.74, 38.94, 290.86°)
OKLaboklab(30.44% -0.0111 -0.1049)
OKLCHoklch(30.44% 0.105 263.9)
XYZxyz(3.3287, 2.6850, 12.1448)
Luminance0.0268 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A63 #634B12
analogous
#125263 #122A63 #221263
triadic
#122A63 #63122A #2A6312
tetradic
#122A63 #631252 #634B12 #126322
square
#122A63 #631252 #634B12 #126322
split-complementary
#122A63 #632212 #526312
monochromatic
#050B1A #09142F #122A63 #1B4097 #2556CB

Accessibility & contrast

On white

13.66
#122A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122A63
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A63#FFFFFF#000000##FFFFFF
##122A631.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003165
Deuteranopia (green-blind)
#002A62
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122a63;
/* rgb */ color: rgb(18, 42, 99);
/* oklch */ color: oklch(30.4% 0.105 263.9);
Tailwind
colors: {
  custom: {
    50: '#5e6390',
    500: '#122a63',
    950: '#000000',
  },
}
SCSS
$custom: #122a63;
$custom-light: #5e6390;
$custom-dark: #000000;
JSON
{
  "hex": "#122a63",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 222.222,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30437,
    "c": 0.10547,
    "h": 263.9
  },
  "luminance": 0.02685
}

Semantic roles & 50–950 ramp

primary
#122A63
secondary
#9B7D36
accent
#B83CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122A63

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

Preview Lab → · Contrast checker → · Palette generator →

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