#122955#122955

#122955 is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.085 H 261.8°. Best body text is #FFFFFF at 14.25:1 contrast (WCAG AA passes).

Color values

HEX#122955
RGBrgb(18, 41, 85)
HSLhsl(219, 65%, 20%)
HSVhsv(219, 79%, 33%)
CMYKcmyk(78.8%, 51.8%, 0%, 66.7%)
CIE-LABlab(17.32, 8.59, -29.38)
CIE-LCHlch(17.32, 30.61, 286.30°)
OKLaboklab(29.01% -0.0121 -0.0843)
OKLCHoklch(29.01% 0.085 261.8)
XYZxyz(2.6815, 2.3701, 8.9087)
Luminance0.0237 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122955 #553E12
analogous
#124A55 #122955 #1C1255
triadic
#122955 #551229 #295512
tetradic
#122955 #55124A #553E12 #12551C
square
#122955 #55124A #553E12 #12551C
split-complementary
#122955 #551C12 #4A5512
monochromatic
#050C19 #071122 #122955 #1D4188 #275ABA

Accessibility & contrast

On white

14.25
#122955 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122955 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122955
14.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122955#FFFFFF#000000##FFFFFF
##1229551.0014.251.4714.25
#FFFFFF14.251.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112E57
Deuteranopia (green-blind)
#022854
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122955;
/* rgb */ color: rgb(18, 41, 85);
/* oklch */ color: oklch(29.0% 0.085 261.8);
Tailwind
colors: {
  custom: {
    50: '#5a6285',
    500: '#122955',
    950: '#000000',
  },
}
SCSS
$custom: #122955;
$custom-light: #5a6285;
$custom-dark: #000000;
JSON
{
  "hex": "#122955",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 219.403,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.29009,
    "c": 0.08514,
    "h": 261.8
  },
  "luminance": 0.0237
}

Semantic roles & 50–950 ramp

primary
#122955
secondary
#8E6F35
accent
#AE40E8
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122955

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

Preview Lab → · Contrast checker → · Palette generator →

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