#122653#122653

#122653 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.1% C 0.086 H 263.7°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#122653
RGBrgb(18, 38, 83)
HSLhsl(222, 64%, 20%)
HSVhsv(222, 78%, 33%)
CMYKcmyk(78.3%, 54.2%, 0%, 67.5%)
CIE-LABlab(16.20, 9.97, -29.83)
CIE-LCHlch(16.20, 31.45, 288.47°)
OKLaboklab(28.1% -0.0094 -0.0857)
OKLCHoklch(28.1% 0.086 263.7)
XYZxyz(2.5033, 2.1391, 8.4629)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122653 #533F12
analogous
#124753 #122653 #1E1253
triadic
#122653 #531226 #265312
tetradic
#122653 #531247 #533F12 #12531E
square
#122653 #531247 #533F12 #12531E
split-complementary
#122653 #531E12 #475312
monochromatic
#050C19 #070F21 #122653 #1D3D85 #2854B8

Accessibility & contrast

On white

14.71
#122653 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122653 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122653
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122653#FFFFFF#000000##FFFFFF
##1226531.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C2B55
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#003138
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122653;
/* rgb */ color: rgb(18, 38, 83);
/* oklch */ color: oklch(28.1% 0.086 263.7);
Tailwind
colors: {
  custom: {
    50: '#5a5f84',
    500: '#122653',
    950: '#000000',
  },
}
SCSS
$custom: #122653;
$custom-light: #5a5f84;
$custom-dark: #000000;
JSON
{
  "hex": "#122653",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 83
  },
  "hsl": {
    "h": 221.538,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28104,
    "c": 0.0862,
    "h": 263.7
  },
  "luminance": 0.02139
}

Semantic roles & 50–950 ramp

primary
#122653
secondary
#8C7135
accent
#B440E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122653

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

Preview Lab → · Contrast checker → · Palette generator →

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