#122853#122853

#122853 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 28.6% C 0.083 H 262.1°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#122853
RGBrgb(18, 40, 83)
HSLhsl(220, 64%, 20%)
HSVhsv(220, 78%, 33%)
CMYKcmyk(78.3%, 51.8%, 0%, 67.5%)
CIE-LABlab(16.85, 8.47, -28.79)
CIE-LCHlch(16.85, 30.01, 286.40°)
OKLaboklab(28.6% -0.0114 -0.0826)
OKLCHoklch(28.6% 0.083 262.1)
XYZxyz(2.5690, 2.2704, 8.4848)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122853 #533D12
analogous
#124953 #122853 #1C1253
triadic
#122853 #531228 #285312
tetradic
#122853 #531249 #533D12 #12531C
square
#122853 #531249 #533D12 #12531C
split-complementary
#122853 #531C12 #495312
monochromatic
#050C19 #071021 #122853 #1D4085 #2858B8

Accessibility & contrast

On white

14.44
#122853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122853
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122853#FFFFFF#000000##FFFFFF
##1228531.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#112D55
Deuteranopia (green-blind)
#032752
Tritanopia (blue-blind)
#003239
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122853;
/* rgb */ color: rgb(18, 40, 83);
/* oklch */ color: oklch(28.6% 0.083 262.1);
Tailwind
colors: {
  custom: {
    50: '#5a6184',
    500: '#122853',
    950: '#000000',
  },
}
SCSS
$custom: #122853;
$custom-light: #5a6184;
$custom-dark: #000000;
JSON
{
  "hex": "#122853",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 83
  },
  "hsl": {
    "h": 219.692,
    "s": 64.356,
    "l": 19.804
  },
  "oklch": {
    "l": 0.28598,
    "c": 0.08337,
    "h": 262.1
  },
  "luminance": 0.02271
}

Semantic roles & 50–950 ramp

primary
#122853
secondary
#8C6E35
accent
#AF40E7
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122853

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

Preview Lab → · Contrast checker → · Palette generator →

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