#122648#122648

#122648 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.2% C 0.068 H 260.3°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#122648
RGBrgb(18, 38, 72)
HSLhsl(218, 60%, 18%)
HSVhsv(218, 75%, 28%)
CMYKcmyk(75%, 47.2%, 0%, 71.8%)
CIE-LABlab(15.40, 5.24, -23.64)
CIE-LCHlch(15.40, 24.21, 282.50°)
OKLaboklab(27.23% -0.0115 -0.0675)
OKLCHoklch(27.23% 0.068 260.3)
XYZxyz(2.1118, 1.9825, 6.4010)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122648 #483412
analogous
#124148 #122648 #191248
triadic
#122648 #481226 #264812
tetradic
#122648 #481241 #483412 #124819
square
#122648 #481241 #483412 #124819
split-complementary
#122648 #481912 #414812
monochromatic
#060D18 #060D18 #122648 #1E4079 #2A5AAA

Accessibility & contrast

On white

15.04
#122648 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#122648 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122648
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122648#FFFFFF#000000##FFFFFF
##1226481.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#162949
Deuteranopia (green-blind)
#0D2447
Tritanopia (blue-blind)
#002E33
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122648;
/* rgb */ color: rgb(18, 38, 72);
/* oklch */ color: oklch(27.2% 0.068 260.3);
Tailwind
colors: {
  custom: {
    50: '#575f7b',
    500: '#122648',
    950: '#000000',
  },
}
SCSS
$custom: #122648;
$custom-light: #575f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#122648",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 72
  },
  "hsl": {
    "h": 217.778,
    "s": 60,
    "l": 17.647
  },
  "oklch": {
    "l": 0.27226,
    "c": 0.06843,
    "h": 260.3
  },
  "luminance": 0.01983
}

Semantic roles & 50–950 ramp

primary
#122648
secondary
#816535
accent
#A845E3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#030409
muted
#78797B

Preview Lab

Preview with #122648

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

Preview Lab → · Contrast checker → · Palette generator →

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