#122667#122667

#122667 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.117 H 266.2°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#122667
RGBrgb(18, 38, 103)
HSLhsl(226, 70%, 24%)
HSVhsv(226, 83%, 40%)
CMYKcmyk(82.5%, 63.1%, 0%, 59.6%)
CIE-LABlab(17.89, 18.51, -40.38)
CIE-LCHlch(17.89, 44.42, 294.62°)
OKLaboklab(29.91% -0.0078 -0.1167)
OKLCHoklch(29.91% 0.117 266.2)
XYZxyz(3.3899, 2.4937, 13.1320)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122667 #675312
analogous
#125067 #122667 #281267
triadic
#122667 #671226 #266712
tetradic
#122667 #671250 #675312 #126728
square
#122667 #671250 #675312 #126728
split-complementary
#122667 #672812 #506712
monochromatic
#050A1A #091333 #122667 #1B399B #244CCF

Accessibility & contrast

On white

14.01
#122667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122667 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122667
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122667#FFFFFF#000000##FFFFFF
##1226671.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003069
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#003742
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122667;
/* rgb */ color: rgb(18, 38, 103);
/* oklch */ color: oklch(29.9% 0.117 266.2);
Tailwind
colors: {
  custom: {
    50: '#605f93',
    500: '#122667',
    950: '#000000',
  },
}
SCSS
$custom: #122667;
$custom-light: #605f93;
$custom-dark: #000000;
JSON
{
  "hex": "#122667",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 103
  },
  "hsl": {
    "h": 225.882,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29911,
    "c": 0.11696,
    "h": 266.2
  },
  "luminance": 0.02494
}

Semantic roles & 50–950 ramp

primary
#122667
secondary
#9F8636
accent
#C33BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122667

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

Preview Lab → · Contrast checker → · Palette generator →

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