#122250#122250

#122250 is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.087 H 266.2°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#122250
RGBrgb(18, 34, 80)
HSLhsl(225, 63%, 19%)
HSVhsv(225, 78%, 31%)
CMYKcmyk(77.5%, 57.5%, 0%, 68.6%)
CIE-LABlab(14.69, 11.69, -30.24)
CIE-LCHlch(14.69, 32.42, 291.13°)
OKLaboklab(26.88% -0.0058 -0.087)
OKLCHoklch(26.88% 0.087 266.2)
XYZxyz(2.2689, 1.8516, 7.8257)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122250 #504012
analogous
#124150 #122250 #211250
triadic
#122250 #501222 #225012
tetradic
#122250 #501241 #504012 #125021
square
#122250 #501241 #504012 #125021
split-complementary
#122250 #502112 #415012
monochromatic
#060B19 #070D1E #122250 #1D3782 #284CB4

Accessibility & contrast

On white

15.32
#122250 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#122250 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122250
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122250#FFFFFF#000000##FFFFFF
##1222501.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042852
Deuteranopia (green-blind)
#00224F
Tritanopia (blue-blind)
#002D35
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #122250;
/* rgb */ color: rgb(18, 34, 80);
/* oklch */ color: oklch(26.9% 0.087 266.2);
Tailwind
colors: {
  custom: {
    50: '#595c81',
    500: '#122250',
    950: '#000000',
  },
}
SCSS
$custom: #122250;
$custom-light: #595c81;
$custom-dark: #000000;
JSON
{
  "hex": "#122250",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 80
  },
  "hsl": {
    "h": 224.516,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26878,
    "c": 0.08716,
    "h": 266.2
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#122250
secondary
#897335
accent
#BC41E6
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #122250

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

Preview Lab → · Contrast checker → · Palette generator →

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