#122163#122163

#122163 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.5% C 0.118 H 267.9°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#122163
RGBrgb(18, 33, 99)
HSLhsl(229, 69%, 23%)
HSVhsv(229, 82%, 39%)
CMYKcmyk(81.8%, 66.7%, 0%, 61.2%)
CIE-LABlab(16.09, 20.48, -40.70)
CIE-LCHlch(16.09, 45.56, 296.72°)
OKLaboklab(28.46% -0.0043 -0.1177)
OKLCHoklch(28.46% 0.118 267.9)
XYZxyz(3.0447, 2.1168, 12.0501)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122163 #635412
analogous
#124963 #122163 #2B1263
triadic
#122163 #631221 #216312
tetradic
#122163 #631249 #635412 #12632B
square
#122163 #631249 #635412 #12632B
split-complementary
#122163 #632B12 #496312
monochromatic
#05091A #09102F #122163 #1B3297 #2544CB

Accessibility & contrast

On white

14.75
#122163 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122163 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122163
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122163#FFFFFF#000000##FFFFFF
##1221631.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C65
Deuteranopia (green-blind)
#002462
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122163;
/* rgb */ color: rgb(18, 33, 99);
/* oklch */ color: oklch(28.5% 0.118 267.9);
Tailwind
colors: {
  custom: {
    50: '#5f5c90',
    500: '#122163',
    950: '#000000',
  },
}
SCSS
$custom: #122163;
$custom-light: #5f5c90;
$custom-dark: #000000;
JSON
{
  "hex": "#122163",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 99
  },
  "hsl": {
    "h": 228.889,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28457,
    "c": 0.11777,
    "h": 267.9
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#122163
secondary
#9B8836
accent
#CB3CEC
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#05040D
muted
#7A797D

Preview Lab

Preview with #122163

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

Preview Lab → · Contrast checker → · Palette generator →

#122163 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva