#122264#122264

#122264 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.118 H 267.6°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#122264
RGBrgb(18, 34, 100)
HSLhsl(228, 69%, 23%)
HSVhsv(228, 82%, 39%)
CMYKcmyk(82%, 66%, 0%, 60.8%)
CIE-LABlab(16.47, 20.17, -40.74)
CIE-LCHlch(16.47, 45.46, 296.34°)
OKLaboklab(28.77% -0.005 -0.1178)
OKLCHoklch(28.77% 0.118 267.6)
XYZxyz(3.1209, 2.1924, 12.3128)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122264 #645412
analogous
#124B64 #122264 #2B1264
triadic
#122264 #641222 #226412
tetradic
#122264 #64124B #645412 #12642B
square
#122264 #64124B #645412 #12642B
split-complementary
#122264 #642B12 #4B6412
monochromatic
#05091A #091030 #122264 #1B3498 #2545CC

Accessibility & contrast

On white

14.60
#122264 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122264 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122264
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122264#FFFFFF#000000##FFFFFF
##1222641.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002563
Tritanopia (blue-blind)
#00333F
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122264;
/* rgb */ color: rgb(18, 34, 100);
/* oklch */ color: oklch(28.8% 0.118 267.6);
Tailwind
colors: {
  custom: {
    50: '#5f5c91',
    500: '#122264',
    950: '#000000',
  },
}
SCSS
$custom: #122264;
$custom-light: #5f5c91;
$custom-dark: #000000;
JSON
{
  "hex": "#122264",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 100
  },
  "hsl": {
    "h": 228.293,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28766,
    "c": 0.11791,
    "h": 267.6
  },
  "luminance": 0.02193
}

Semantic roles & 50–950 ramp

primary
#122264
secondary
#9C8836
accent
#CA3BEC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122264

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

Preview Lab → · Contrast checker → · Palette generator →

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