#122849#122849

#122849 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 27.8% C 0.067 H 258.4°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#122849
RGBrgb(18, 40, 73)
HSLhsl(216, 60%, 18%)
HSVhsv(216, 75%, 29%)
CMYKcmyk(75.3%, 45.2%, 0%, 71.4%)
CIE-LABlab(16.14, 4.18, -23.13)
CIE-LCHlch(16.14, 23.51, 280.25°)
OKLaboklab(27.83% -0.0136 -0.0659)
OKLCHoklch(27.83% 0.067 258.4)
XYZxyz(2.2104, 2.1270, 6.5961)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122849 #493312
analogous
#124349 #122849 #171249
triadic
#122849 #491228 #284912
tetradic
#122849 #491243 #493312 #124917
square
#122849 #491243 #493312 #124917
split-complementary
#122849 #491712 #434912
monochromatic
#060D19 #060D19 #122849 #1E437A #2A5EAB

Accessibility & contrast

On white

14.73
#122849 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122849 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122849
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122849#FFFFFF#000000##FFFFFF
##1228491.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#192B4A
Deuteranopia (green-blind)
#102648
Tritanopia (blue-blind)
#003034
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122849;
/* rgb */ color: rgb(18, 40, 73);
/* oklch */ color: oklch(27.8% 0.067 258.4);
Tailwind
colors: {
  custom: {
    50: '#57617c',
    500: '#122849',
    950: '#000000',
  },
}
SCSS
$custom: #122849;
$custom-light: #57617c;
$custom-dark: #000000;
JSON
{
  "hex": "#122849",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 73
  },
  "hsl": {
    "h": 216,
    "s": 60.44,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27825,
    "c": 0.06733,
    "h": 258.4
  },
  "luminance": 0.02127
}

Semantic roles & 50–950 ramp

primary
#122849
secondary
#826335
accent
#A444E4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030509
muted
#78797B

Preview Lab

Preview with #122849

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

Preview Lab → · Contrast checker → · Palette generator →

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