#122148#122148

#122148 is a dark, moderate blue. Relative luminance 0.017; OKLCH L 25.9% C 0.076 H 265.6°. Best body text is #FFFFFF at 15.71:1 contrast (WCAG AA passes).

Color values

HEX#122148
RGBrgb(18, 33, 72)
HSLhsl(223, 60%, 18%)
HSVhsv(223, 75%, 28%)
CMYKcmyk(75%, 54.2%, 0%, 71.8%)
CIE-LABlab(13.73, 9.01, -26.30)
CIE-LCHlch(13.73, 27.80, 288.92°)
OKLaboklab(25.95% -0.0058 -0.0754)
OKLCHoklch(25.95% 0.076 265.6)
XYZxyz(1.9626, 1.6840, 6.3512)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122148 #483912
analogous
#123C48 #122148 #1E1248
triadic
#122148 #481221 #214812
tetradic
#122148 #48123C #483912 #12481E
square
#122148 #48123C #483912 #12481E
split-complementary
#122148 #481E12 #3C4812
monochromatic
#060B18 #060B18 #122148 #1E3779 #2A4EAA

Accessibility & contrast

On white

15.71
#122148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#122148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122148
15.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122148#FFFFFF#000000##FFFFFF
##1221481.0015.711.3415.71
#FFFFFF15.711.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2649
Deuteranopia (green-blind)
#022147
Tritanopia (blue-blind)
#002A31
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #122148;
/* rgb */ color: rgb(18, 33, 72);
/* oklch */ color: oklch(25.9% 0.076 265.6);
Tailwind
colors: {
  custom: {
    50: '#575b7b',
    500: '#122148',
    950: '#000000',
  },
}
SCSS
$custom: #122148;
$custom-light: #575b7b;
$custom-dark: #000000;
JSON
{
  "hex": "#122148",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 223.333,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2595,
    "c": 0.0756,
    "h": 265.6
  },
  "luminance": 0.01684
}

Semantic roles & 50–950 ramp

primary
#122148
secondary
#816C35
accent
#B745E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #122148

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

Preview Lab → · Contrast checker → · Palette generator →

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