#122455#122455

#122455 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.8% C 0.092 H 265.5°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#122455
RGBrgb(18, 36, 85)
HSLhsl(224, 65%, 20%)
HSVhsv(224, 79%, 33%)
CMYKcmyk(78.8%, 57.6%, 0%, 66.7%)
CIE-LABlab(15.73, 12.33, -31.95)
CIE-LCHlch(15.73, 34.24, 291.10°)
OKLaboklab(27.8% -0.0072 -0.0919)
OKLCHoklch(27.8% 0.092 265.5)
XYZxyz(2.5194, 2.0460, 8.8547)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122455 #554312
analogous
#124555 #122455 #221255
triadic
#122455 #551224 #245512
tetradic
#122455 #551245 #554312 #125522
square
#122455 #551245 #554312 #125522
split-complementary
#122455 #552212 #455512
monochromatic
#050B19 #070F22 #122455 #1D3988 #274FBA

Accessibility & contrast

On white

14.90
#122455 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122455 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122455
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122455#FFFFFF#000000##FFFFFF
##1224551.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032A57
Deuteranopia (green-blind)
#002454
Tritanopia (blue-blind)
#003038
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122455;
/* rgb */ color: rgb(18, 36, 85);
/* oklch */ color: oklch(27.8% 0.092 265.5);
Tailwind
colors: {
  custom: {
    50: '#5b5e85',
    500: '#122455',
    950: '#000000',
  },
}
SCSS
$custom: #122455;
$custom-light: #5b5e85;
$custom-dark: #000000;
JSON
{
  "hex": "#122455",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 85
  },
  "hsl": {
    "h": 223.881,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27795,
    "c": 0.09223,
    "h": 265.5
  },
  "luminance": 0.02046
}

Semantic roles & 50–950 ramp

primary
#122455
secondary
#8E7635
accent
#BB40E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122455

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

Preview Lab → · Contrast checker → · Palette generator →

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