#122355#122355

#122355 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.6% C 0.094 H 266.1°. Best body text is #FFFFFF at 15.03:1 contrast (WCAG AA passes).

Color values

HEX#122355
RGBrgb(18, 35, 85)
HSLhsl(225, 65%, 20%)
HSVhsv(225, 79%, 33%)
CMYKcmyk(78.8%, 58.8%, 0%, 66.7%)
CIE-LABlab(15.42, 13.08, -32.45)
CIE-LCHlch(15.42, 34.99, 291.95°)
OKLaboklab(27.56% -0.0063 -0.0934)
OKLCHoklch(27.56% 0.094 266.1)
XYZxyz(2.4896, 1.9863, 8.8448)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122355 #554412
analogous
#124455 #122355 #221255
triadic
#122355 #551223 #235512
tetradic
#122355 #551244 #554412 #125522
square
#122355 #551244 #554412 #125522
split-complementary
#122355 #552212 #445512
monochromatic
#050A19 #070E22 #122355 #1D3888 #274DBA

Accessibility & contrast

On white

15.03
#122355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122355
15.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122355#FFFFFF#000000##FFFFFF
##1223551.0015.031.4015.03
#FFFFFF15.031.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122355;
/* rgb */ color: rgb(18, 35, 85);
/* oklch */ color: oklch(27.6% 0.094 266.1);
Tailwind
colors: {
  custom: {
    50: '#5b5d85',
    500: '#122355',
    950: '#000000',
  },
}
SCSS
$custom: #122355;
$custom-light: #5b5d85;
$custom-dark: #000000;
JSON
{
  "hex": "#122355",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 85
  },
  "hsl": {
    "h": 224.776,
    "s": 65.049,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27559,
    "c": 0.09366,
    "h": 266.1
  },
  "luminance": 0.01987
}

Semantic roles & 50–950 ramp

primary
#122355
secondary
#8E7735
accent
#BD40E8
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122355

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

Preview Lab → · Contrast checker → · Palette generator →

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