#122953#122953

#122953 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.8% C 0.082 H 261.3°. Best body text is #FFFFFF at 14.31:1 contrast (WCAG AA passes).

Color values

HEX#122953
RGBrgb(18, 41, 83)
HSLhsl(219, 64%, 20%)
HSVhsv(219, 78%, 33%)
CMYKcmyk(78.3%, 50.6%, 0%, 67.5%)
CIE-LABlab(17.17, 7.73, -28.27)
CIE-LCHlch(17.17, 29.31, 285.29°)
OKLaboklab(28.85% -0.0124 -0.081)
OKLCHoklch(28.85% 0.082 261.3)
XYZxyz(2.6032, 2.3387, 8.4962)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122953 #533C12
analogous
#124A53 #122953 #1C1253
triadic
#122953 #531229 #295312
tetradic
#122953 #53124A #533C12 #12531C
square
#122953 #53124A #533C12 #12531C
split-complementary
#122953 #531C12 #4A5312
monochromatic
#050C19 #071021 #122953 #1D4285 #285BB8

Accessibility & contrast

On white

14.31
#122953 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122953 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122953
14.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122953#FFFFFF#000000##FFFFFF
##1229531.0014.311.4714.31
#FFFFFF14.311.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#132D55
Deuteranopia (green-blind)
#052752
Tritanopia (blue-blind)
#00333A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122953;
/* rgb */ color: rgb(18, 41, 83);
/* oklch */ color: oklch(28.8% 0.082 261.3);
Tailwind
colors: {
  custom: {
    50: '#5a6284',
    500: '#122953',
    950: '#000000',
  },
}
SCSS
$custom: #122953;
$custom-light: #5a6284;
$custom-dark: #000000;
JSON
{
  "hex": "#122953",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 83
  },
  "hsl": {
    "h": 218.769,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28849,
    "c": 0.08197,
    "h": 261.3
  },
  "luminance": 0.02339
}

Semantic roles & 50–950 ramp

primary
#122953
secondary
#8C6D35
accent
#AC40E7
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122953

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

Preview Lab → · Contrast checker → · Palette generator →

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