#122459#122459

#122459 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.099 H 266.0°. Best body text is #FFFFFF at 14.76:1 contrast (WCAG AA passes).

Color values

HEX#122459
RGBrgb(18, 36, 89)
HSLhsl(225, 66%, 21%)
HSVhsv(225, 80%, 35%)
CMYKcmyk(79.8%, 59.6%, 0%, 65.1%)
CIE-LABlab(16.06, 14.05, -34.09)
CIE-LCHlch(16.06, 36.87, 292.39°)
OKLaboklab(28.15% -0.0069 -0.0983)
OKLCHoklch(28.15% 0.099 266)
XYZxyz(2.6829, 2.1113, 9.7154)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122459 #594712
analogous
#124759 #122459 #231259
triadic
#122459 #591224 #245912
tetradic
#122459 #591247 #594712 #125923
square
#122459 #591247 #594712 #125923
split-complementary
#122459 #592312 #475912
monochromatic
#050A19 #080F26 #122459 #1C398C #274DBF

Accessibility & contrast

On white

14.76
#122459 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122459 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122459
14.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122459#FFFFFF#000000##FFFFFF
##1224591.0014.761.4214.76
#FFFFFF14.761.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B5B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#00313A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122459;
/* rgb */ color: rgb(18, 36, 89);
/* oklch */ color: oklch(28.2% 0.099 266.0);
Tailwind
colors: {
  custom: {
    50: '#5c5e88',
    500: '#122459',
    950: '#000000',
  },
}
SCSS
$custom: #122459;
$custom-light: #5c5e88;
$custom-dark: #000000;
JSON
{
  "hex": "#122459",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 89
  },
  "hsl": {
    "h": 224.789,
    "s": 66.355,
    "l": 20.98
  },
  "oklch": {
    "l": 0.28153,
    "c": 0.0985,
    "h": 266
  },
  "luminance": 0.02112
}

Semantic roles & 50–950 ramp

primary
#122459
secondary
#927A35
accent
#BE3FE9
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040B
muted
#79797C

Preview Lab

Preview with #122459

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

Preview Lab → · Contrast checker → · Palette generator →

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