#122663#122663

#122663 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.5% C 0.111 H 265.9°. Best body text is #FFFFFF at 14.16:1 contrast (WCAG AA passes).

Color values

HEX#122663
RGBrgb(18, 38, 99)
HSLhsl(225, 69%, 23%)
HSVhsv(225, 82%, 39%)
CMYKcmyk(81.8%, 61.6%, 0%, 61.2%)
CIE-LABlab(17.53, 16.82, -38.34)
CIE-LCHlch(17.53, 41.87, 293.68°)
OKLaboklab(29.53% -0.0079 -0.1107)
OKLCHoklch(29.53% 0.111 265.9)
XYZxyz(3.1939, 2.4153, 12.0998)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122663 #634F12
analogous
#124E63 #122663 #261263
triadic
#122663 #631226 #266312
tetradic
#122663 #63124E #634F12 #126326
square
#122663 #63124E #634F12 #126326
split-complementary
#122663 #632612 #4E6312
monochromatic
#050A1A #09122F #122663 #1B3A97 #254ECB

Accessibility & contrast

On white

14.16
#122663 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122663 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122663
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122663#FFFFFF#000000##FFFFFF
##1226631.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F65
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122663;
/* rgb */ color: rgb(18, 38, 99);
/* oklch */ color: oklch(29.5% 0.111 265.9);
Tailwind
colors: {
  custom: {
    50: '#5e5f90',
    500: '#122663',
    950: '#000000',
  },
}
SCSS
$custom: #122663;
$custom-light: #5e5f90;
$custom-dark: #000000;
JSON
{
  "hex": "#122663",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 225.185,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2953,
    "c": 0.11099,
    "h": 265.9
  },
  "luminance": 0.02416
}

Semantic roles & 50–950 ramp

primary
#122663
secondary
#9B8236
accent
#C13CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122663

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

Preview Lab → · Contrast checker → · Palette generator →

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