#122D63#122D63

#122D63 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.101 H 262.2°. Best body text is #FFFFFF at 13.28:1 contrast (WCAG AA passes).

Color values

HEX#122D63
RGBrgb(18, 45, 99)
HSLhsl(220, 69%, 23%)
HSVhsv(220, 82%, 39%)
CMYKcmyk(81.8%, 54.5%, 0%, 61.2%)
CIE-LABlab(19.66, 11.66, -34.88)
CIE-LCHlch(19.66, 36.78, 288.48°)
OKLaboklab(31.14% -0.0137 -0.1004)
OKLCHoklch(31.14% 0.101 262.2)
XYZxyz(3.4392, 2.9058, 12.1816)
Luminance0.0291 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D63 #634812
analogous
#125563 #122D63 #1F1263
triadic
#122D63 #63122D #2D6312
tetradic
#122D63 #631255 #634812 #12631F
square
#122D63 #631255 #634812 #12631F
split-complementary
#122D63 #631F12 #556312
monochromatic
#050C1A #09152F #122D63 #1B4597 #255CCB

Accessibility & contrast

On white

13.28
#122D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122D63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D63
13.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D63#FFFFFF#000000##FFFFFF
##122D631.0013.281.5813.28
#FFFFFF13.281.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A3365
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003A43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122d63;
/* rgb */ color: rgb(18, 45, 99);
/* oklch */ color: oklch(31.1% 0.101 262.2);
Tailwind
colors: {
  custom: {
    50: '#5e6590',
    500: '#122d63',
    950: '#000000',
  },
}
SCSS
$custom: #122d63;
$custom-light: #5e6590;
$custom-dark: #000000;
JSON
{
  "hex": "#122d63",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 99
  },
  "hsl": {
    "h": 220,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.31142,
    "c": 0.10133,
    "h": 262.2
  },
  "luminance": 0.02906
}

Semantic roles & 50–950 ramp

primary
#122D63
secondary
#9B7936
accent
#B13CEC
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #122D63

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

Preview Lab → · Contrast checker → · Palette generator →

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