#122576#122576

#122576 is a dark, vivid blue. Relative luminance 0.028; OKLCH L 31.2% C 0.140 H 267.0°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#122576
RGBrgb(18, 37, 118)
HSLhsl(229, 74%, 27%)
HSVhsv(229, 85%, 46%)
CMYKcmyk(84.7%, 68.6%, 0%, 53.7%)
CIE-LABlab(19.05, 25.40, -48.20)
CIE-LCHlch(19.05, 54.48, 297.79°)
OKLaboklab(31.21% -0.0074 -0.1396)
OKLCHoklch(31.21% 0.14 267)
XYZxyz(4.1799, 2.7592, 17.4483)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122576 #766312
analogous
#125776 #122576 #311276
triadic
#122576 #761225 #257612
tetradic
#122576 #761257 #766312 #127631
square
#122576 #761257 #766312 #127631
split-complementary
#122576 #763112 #577612
monochromatic
#04081B #0A1441 #122576 #1A36AB #2548DE

Accessibility & contrast

On white

13.53
#122576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122576
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122576#FFFFFF#000000##FFFFFF
##1225761.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003379
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#003B4A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122576;
/* rgb */ color: rgb(18, 37, 118);
/* oklch */ color: oklch(31.2% 0.140 267.0);
Tailwind
colors: {
  custom: {
    50: '#645f9e',
    500: '#122576',
    950: '#000000',
  },
}
SCSS
$custom: #122576;
$custom-light: #645f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122576",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 118
  },
  "hsl": {
    "h": 228.6,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.31213,
    "c": 0.13979,
    "h": 267
  },
  "luminance": 0.0276
}

Semantic roles & 50–950 ramp

primary
#122576
secondary
#AD9637
accent
#CD38F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122576

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

Preview Lab → · Contrast checker → · Palette generator →

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