#122970#122970

#122970 is a dark, vivid blue. Relative luminance 0.029; OKLCH L 31.4% C 0.126 H 265.6°. Best body text is #FFFFFF at 13.32:1 contrast (WCAG AA passes).

Color values

HEX#122970
RGBrgb(18, 41, 112)
HSLhsl(225, 72%, 25%)
HSVhsv(225, 84%, 44%)
CMYKcmyk(83.9%, 63.4%, 0%, 56.1%)
CIE-LABlab(19.57, 20.09, -43.49)
CIE-LCHlch(19.57, 47.90, 294.80°)
OKLaboklab(31.42% -0.0097 -0.1257)
OKLCHoklch(31.42% 0.126 265.6)
XYZxyz(3.9660, 2.8839, 15.6737)
Luminance0.0288 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122970 #705912
analogous
#125870 #122970 #2A1270
triadic
#122970 #701229 #297012
tetradic
#122970 #701258 #705912 #12702A
square
#122970 #701258 #705912 #12702A
split-complementary
#122970 #702A12 #587012
monochromatic
#040A1A #0A163B #122970 #1A3CA5 #2350D9

Accessibility & contrast

On white

13.32
#122970 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#122970 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122970
13.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122970#FFFFFF#000000##FFFFFF
##1229701.0013.321.5813.32
#FFFFFF13.321.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003472
Deuteranopia (green-blind)
#002B6F
Tritanopia (blue-blind)
#003B48
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122970;
/* rgb */ color: rgb(18, 41, 112);
/* oklch */ color: oklch(31.4% 0.126 265.6);
Tailwind
colors: {
  custom: {
    50: '#62629a',
    500: '#122970',
    950: '#000000',
  },
}
SCSS
$custom: #122970;
$custom-light: #62629a;
$custom-dark: #000000;
JSON
{
  "hex": "#122970",
  "rgb": {
    "r": 18,
    "g": 41,
    "b": 112
  },
  "hsl": {
    "h": 225.319,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.12612,
    "h": 265.6
  },
  "luminance": 0.02884
}

Semantic roles & 50–950 ramp

primary
#122970
secondary
#A78C37
accent
#C239EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122970

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

Preview Lab → · Contrast checker → · Palette generator →

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