#122471#122471

#122471 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.5% C 0.134 H 267.2°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#122471
RGBrgb(18, 36, 113)
HSLhsl(229, 73%, 26%)
HSVhsv(229, 84%, 44%)
CMYKcmyk(84.1%, 68.1%, 0%, 55.7%)
CIE-LABlab(18.29, 24.08, -46.24)
CIE-LCHlch(18.29, 52.13, 297.51°)
OKLaboklab(30.5% -0.0066 -0.1339)
OKLCHoklch(30.5% 0.134 267.2)
XYZxyz(3.8599, 2.5822, 15.9146)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122471 #715F12
analogous
#125371 #122471 #301271
triadic
#122471 #711224 #247112
tetradic
#122471 #711253 #715F12 #127130
square
#122471 #711253 #715F12 #127130
split-complementary
#122471 #713012 #537112
monochromatic
#04081A #0A133C #122471 #1A35A6 #2346DB

Accessibility & contrast

On white

13.85
#122471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#122471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122471
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122471#FFFFFF#000000##FFFFFF
##1224711.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003173
Deuteranopia (green-blind)
#002870
Tritanopia (blue-blind)
#003947
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122471;
/* rgb */ color: rgb(18, 36, 113);
/* oklch */ color: oklch(30.5% 0.134 267.2);
Tailwind
colors: {
  custom: {
    50: '#635e9b',
    500: '#122471',
    950: '#000000',
  },
}
SCSS
$custom: #122471;
$custom-light: #635e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#122471",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 113
  },
  "hsl": {
    "h": 228.632,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30498,
    "c": 0.13403,
    "h": 267.2
  },
  "luminance": 0.02583
}

Semantic roles & 50–950 ramp

primary
#122471
secondary
#A89337
accent
#CD39EF
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122471

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

Preview Lab → · Contrast checker → · Palette generator →

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