#122867#122867

#122867 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.3% C 0.114 H 265.4°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#122867
RGBrgb(18, 40, 103)
HSLhsl(224, 70%, 24%)
HSVhsv(224, 83%, 40%)
CMYKcmyk(82.5%, 61.2%, 0%, 59.6%)
CIE-LABlab(18.48, 17.04, -39.43)
CIE-LCHlch(18.48, 42.95, 293.37°)
OKLaboklab(30.35% -0.0092 -0.1139)
OKLCHoklch(30.35% 0.114 265.4)
XYZxyz(3.4556, 2.6251, 13.1539)
Luminance0.0262 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122867 #675112
analogous
#125267 #122867 #261267
triadic
#122867 #671228 #286712
tetradic
#122867 #671252 #675112 #126726
square
#122867 #671252 #675112 #126726
split-complementary
#122867 #672612 #526712
monochromatic
#050A1A #091433 #122867 #1B3C9B #2450CF

Accessibility & contrast

On white

13.77
#122867 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122867 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122867
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122867#FFFFFF#000000##FFFFFF
##1228671.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003169
Deuteranopia (green-blind)
#002966
Tritanopia (blue-blind)
#003843
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122867;
/* rgb */ color: rgb(18, 40, 103);
/* oklch */ color: oklch(30.3% 0.114 265.4);
Tailwind
colors: {
  custom: {
    50: '#5f6193',
    500: '#122867',
    950: '#000000',
  },
}
SCSS
$custom: #122867;
$custom-light: #5f6193;
$custom-dark: #000000;
JSON
{
  "hex": "#122867",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 224.471,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30348,
    "c": 0.11425,
    "h": 265.4
  },
  "luminance": 0.02625
}

Semantic roles & 50–950 ramp

primary
#122867
secondary
#9F8436
accent
#BF3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122867

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

Preview Lab → · Contrast checker → · Palette generator →

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