#122267#122267

#122267 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 29.1% C 0.122 H 267.6°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#122267
RGBrgb(18, 34, 103)
HSLhsl(229, 70%, 24%)
HSVhsv(229, 83%, 40%)
CMYKcmyk(82.5%, 67%, 0%, 59.6%)
CIE-LABlab(16.76, 21.41, -42.24)
CIE-LCHlch(16.76, 47.35, 296.88°)
OKLaboklab(29.07% -0.005 -0.1222)
OKLCHoklch(29.07% 0.122 267.6)
XYZxyz(3.2688, 2.2516, 13.0916)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122267 #675712
analogous
#124C67 #122267 #2C1267
triadic
#122267 #671222 #226712
tetradic
#122267 #67124C #675712 #12672C
square
#122267 #67124C #675712 #12672C
split-complementary
#122267 #672C12 #4C6712
monochromatic
#05091A #091133 #122267 #1B339B #2444CF

Accessibility & contrast

On white

14.48
#122267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122267
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122267#FFFFFF#000000##FFFFFF
##1222671.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D69
Deuteranopia (green-blind)
#002566
Tritanopia (blue-blind)
#003441
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122267;
/* rgb */ color: rgb(18, 34, 103);
/* oklch */ color: oklch(29.1% 0.122 267.6);
Tailwind
colors: {
  custom: {
    50: '#605c93',
    500: '#122267',
    950: '#000000',
  },
}
SCSS
$custom: #122267;
$custom-light: #605c93;
$custom-dark: #000000;
JSON
{
  "hex": "#122267",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 228.706,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29069,
    "c": 0.12229,
    "h": 267.6
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#122267
secondary
#9F8B36
accent
#CB3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122267

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

Preview Lab → · Contrast checker → · Palette generator →

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