#122253#122253

#122253 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.092 H 266.6°. Best body text is #FFFFFF at 15.22:1 contrast (WCAG AA passes).

Color values

HEX#122253
RGBrgb(18, 34, 83)
HSLhsl(225, 64%, 20%)
HSVhsv(225, 78%, 33%)
CMYKcmyk(78.3%, 59%, 0%, 67.5%)
CIE-LABlab(14.94, 12.98, -31.88)
CIE-LCHlch(14.94, 34.42, 292.15°)
OKLaboklab(27.15% -0.0055 -0.0918)
OKLCHoklch(27.15% 0.092 266.6)
XYZxyz(2.3823, 1.8969, 8.4225)
Luminance0.0190 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122253 #534312
analogous
#124253 #122253 #231253
triadic
#122253 #531222 #225312
tetradic
#122253 #531242 #534312 #125323
square
#122253 #531242 #534312 #125323
split-complementary
#122253 #532312 #425312
monochromatic
#050A19 #070D21 #122253 #1D3785 #284BB8

Accessibility & contrast

On white

15.22
#122253 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#122253 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122253
15.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122253#FFFFFF#000000##FFFFFF
##1222531.0015.221.3815.22
#FFFFFF15.221.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002955
Deuteranopia (green-blind)
#002352
Tritanopia (blue-blind)
#002E36
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #122253;
/* rgb */ color: rgb(18, 34, 83);
/* oklch */ color: oklch(27.1% 0.092 266.6);
Tailwind
colors: {
  custom: {
    50: '#5a5c84',
    500: '#122253',
    950: '#000000',
  },
}
SCSS
$custom: #122253;
$custom-light: #5a5c84;
$custom-dark: #000000;
JSON
{
  "hex": "#122253",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 83
  },
  "hsl": {
    "h": 225.231,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27145,
    "c": 0.09194,
    "h": 266.6
  },
  "luminance": 0.01897
}

Semantic roles & 50–950 ramp

primary
#122253
secondary
#8C7635
accent
#BE40E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122253

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

Preview Lab → · Contrast checker → · Palette generator →

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