#122C63#122C63

#122C63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.9% C 0.103 H 262.8°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#122C63
RGBrgb(18, 44, 99)
HSLhsl(221, 69%, 23%)
HSVhsv(221, 82%, 39%)
CMYKcmyk(81.8%, 55.6%, 0%, 61.2%)
CIE-LABlab(19.35, 12.39, -35.39)
CIE-LCHlch(19.35, 37.49, 289.30°)
OKLaboklab(30.9% -0.0128 -0.1019)
OKLCHoklch(30.9% 0.103 262.8)
XYZxyz(3.4015, 2.8304, 12.1690)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C63 #634912
analogous
#125463 #122C63 #211263
triadic
#122C63 #63122C #2C6312
tetradic
#122C63 #631254 #634912 #126321
square
#122C63 #631254 #634912 #126321
split-complementary
#122C63 #632112 #546312
monochromatic
#050C1A #09152F #122C63 #1B4397 #255ACB

Accessibility & contrast

On white

13.41
#122C63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122C63
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C63#FFFFFF#000000##FFFFFF
##122C631.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#063365
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122c63;
/* rgb */ color: rgb(18, 44, 99);
/* oklch */ color: oklch(30.9% 0.103 262.8);
Tailwind
colors: {
  custom: {
    50: '#5e6490',
    500: '#122c63',
    950: '#000000',
  },
}
SCSS
$custom: #122c63;
$custom-light: #5e6490;
$custom-dark: #000000;
JSON
{
  "hex": "#122c63",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 99
  },
  "hsl": {
    "h": 220.741,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.30905,
    "c": 0.1027,
    "h": 262.8
  },
  "luminance": 0.02831
}

Semantic roles & 50–950 ramp

primary
#122C63
secondary
#9B7B36
accent
#B33CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122C63

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

Preview Lab → · Contrast checker → · Palette generator →

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