#122353#122353

#122353 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.090 H 265.9°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#122353
RGBrgb(18, 35, 83)
HSLhsl(224, 64%, 20%)
HSVhsv(224, 78%, 33%)
CMYKcmyk(78.3%, 57.8%, 0%, 67.5%)
CIE-LABlab(15.25, 12.22, -31.37)
CIE-LCHlch(15.25, 33.67, 291.29°)
OKLaboklab(27.38% -0.0065 -0.0903)
OKLCHoklch(27.38% 0.091 265.9)
XYZxyz(2.4113, 1.9549, 8.4322)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122353 #534212
analogous
#124353 #122353 #221253
triadic
#122353 #531223 #235312
tetradic
#122353 #531243 #534212 #125322
square
#122353 #531243 #534212 #125322
split-complementary
#122353 #532212 #435312
monochromatic
#050B19 #070E21 #122353 #1D3885 #284DB8

Accessibility & contrast

On white

15.10
#122353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#122353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122353
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122353#FFFFFF#000000##FFFFFF
##1223531.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122353;
/* rgb */ color: rgb(18, 35, 83);
/* oklch */ color: oklch(27.4% 0.090 265.9);
Tailwind
colors: {
  custom: {
    50: '#5a5d84',
    500: '#122353',
    950: '#000000',
  },
}
SCSS
$custom: #122353;
$custom-light: #5a5d84;
$custom-dark: #000000;
JSON
{
  "hex": "#122353",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 83
  },
  "hsl": {
    "h": 224.308,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27381,
    "c": 0.0905,
    "h": 265.9
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#122353
secondary
#8C7535
accent
#BC40E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122353

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

Preview Lab → · Contrast checker → · Palette generator →

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