#122573#122573

#122573 is a dark, vivid blue. Relative luminance 0.027; OKLCH L 30.9% C 0.136 H 266.9°. Best body text is #FFFFFF at 13.65:1 contrast (WCAG AA passes).

Color values

HEX#122573
RGBrgb(18, 37, 115)
HSLhsl(228, 73%, 26%)
HSVhsv(228, 84%, 45%)
CMYKcmyk(84.3%, 67.8%, 0%, 54.9%)
CIE-LABlab(18.75, 24.19, -46.76)
CIE-LCHlch(18.75, 52.65, 297.35°)
OKLaboklab(30.9% -0.0073 -0.1354)
OKLCHoklch(30.9% 0.136 266.9)
XYZxyz(4.0045, 2.6891, 16.5243)
Luminance0.0269 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122573 #736012
analogous
#125573 #122573 #2F1273
triadic
#122573 #731225 #257312
tetradic
#122573 #731255 #736012 #12732F
square
#122573 #731255 #736012 #12732F
split-complementary
#122573 #732F12 #557312
monochromatic
#04091A #0A143E #122573 #1A36A8 #2347DD

Accessibility & contrast

On white

13.65
#122573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122573
13.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122573#FFFFFF#000000##FFFFFF
##1225731.0013.651.5413.65
#FFFFFF13.651.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003275
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#003A48
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122573;
/* rgb */ color: rgb(18, 37, 115);
/* oklch */ color: oklch(30.9% 0.136 266.9);
Tailwind
colors: {
  custom: {
    50: '#635f9c',
    500: '#122573',
    950: '#000000',
  },
}
SCSS
$custom: #122573;
$custom-light: #635f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#122573",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 115
  },
  "hsl": {
    "h": 228.247,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30902,
    "c": 0.13559,
    "h": 266.9
  },
  "luminance": 0.0269
}

Semantic roles & 50–950 ramp

primary
#122573
secondary
#AA9337
accent
#CC38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122573

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

Preview Lab → · Contrast checker → · Palette generator →

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