#122574#122574

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

Color values

HEX#122574
RGBrgb(18, 37, 116)
HSLhsl(228, 73%, 26%)
HSVhsv(228, 84%, 45%)
CMYKcmyk(84.5%, 68.1%, 0%, 54.5%)
CIE-LABlab(18.85, 24.59, -47.24)
CIE-LCHlch(18.85, 53.26, 297.50°)
OKLaboklab(31.01% -0.0073 -0.1368)
OKLCHoklch(31.01% 0.137 266.9)
XYZxyz(4.0623, 2.7122, 16.8290)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122574 #746112
analogous
#125674 #122574 #301274
triadic
#122574 #741225 #257412
tetradic
#122574 #741256 #746112 #127430
square
#122574 #741256 #746112 #127430
split-complementary
#122574 #743012 #567412
monochromatic
#04081A #0A143F #122574 #1A36A9 #2347DD

Accessibility & contrast

On white

13.61
#122574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122574
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122574#FFFFFF#000000##FFFFFF
##1225741.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003376
Deuteranopia (green-blind)
#002973
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122574;
/* rgb */ color: rgb(18, 37, 116);
/* oklch */ color: oklch(31.0% 0.137 266.9);
Tailwind
colors: {
  custom: {
    50: '#645f9d',
    500: '#122574',
    950: '#000000',
  },
}
SCSS
$custom: #122574;
$custom-light: #645f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#122574",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 116
  },
  "hsl": {
    "h": 228.367,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31005,
    "c": 0.13699,
    "h": 266.9
  },
  "luminance": 0.02713
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #122574

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

Preview Lab → · Contrast checker → · Palette generator →

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