#122352#122352

#122352 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.3% C 0.089 H 265.8°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#122352
RGBrgb(18, 35, 82)
HSLhsl(224, 64%, 20%)
HSVhsv(224, 78%, 32%)
CMYKcmyk(78%, 57.3%, 0%, 67.8%)
CIE-LABlab(15.17, 11.79, -30.83)
CIE-LCHlch(15.17, 33.01, 290.93°)
OKLaboklab(27.29% -0.0066 -0.0887)
OKLCHoklch(27.29% 0.089 265.8)
XYZxyz(2.3729, 1.9396, 8.2303)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122352 #524112
analogous
#124352 #122352 #211252
triadic
#122352 #521223 #235212
tetradic
#122352 #521243 #524112 #125221
square
#122352 #521243 #524112 #125221
split-complementary
#122352 #522112 #435212
monochromatic
#060B19 #070E20 #122352 #1D3884 #284EB6

Accessibility & contrast

On white

15.13
#122352 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122352
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122352#FFFFFF#000000##FFFFFF
##1223521.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122352;
/* rgb */ color: rgb(18, 35, 82);
/* oklch */ color: oklch(27.3% 0.089 265.8);
Tailwind
colors: {
  custom: {
    50: '#5a5d83',
    500: '#122352',
    950: '#000000',
  },
}
SCSS
$custom: #122352;
$custom-light: #5a5d83;
$custom-dark: #000000;
JSON
{
  "hex": "#122352",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 82
  },
  "hsl": {
    "h": 224.063,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27293,
    "c": 0.08891,
    "h": 265.8
  },
  "luminance": 0.0194
}

Semantic roles & 50–950 ramp

primary
#122352
secondary
#8B7435
accent
#BB41E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040A
muted
#79797C

Preview Lab

Preview with #122352

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

Preview Lab → · Contrast checker → · Palette generator →

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