#122460#122460

#122460 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.8% C 0.109 H 266.6°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#122460
RGBrgb(18, 36, 96)
HSLhsl(226, 68%, 22%)
HSVhsv(226, 81%, 38%)
CMYKcmyk(81.3%, 62.5%, 0%, 62.4%)
CIE-LABlab(16.67, 17.02, -37.76)
CIE-LCHlch(16.67, 41.42, 294.27°)
OKLaboklab(28.8% -0.0065 -0.109)
OKLCHoklch(28.8% 0.109 266.6)
XYZxyz(2.9909, 2.2345, 11.3377)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122460 #604E12
analogous
#124B60 #122460 #271260
triadic
#122460 #601224 #246012
tetradic
#122460 #60124B #604E12 #126027
square
#122460 #60124B #604E12 #126027
split-complementary
#122460 #602712 #4B6012
monochromatic
#050A1A #08112C #122460 #1C3794 #254BC7

Accessibility & contrast

On white

14.51
#122460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#122460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122460
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122460#FFFFFF#000000##FFFFFF
##1224601.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122460;
/* rgb */ color: rgb(18, 36, 96);
/* oklch */ color: oklch(28.8% 0.109 266.6);
Tailwind
colors: {
  custom: {
    50: '#5e5e8e',
    500: '#122460',
    950: '#000000',
  },
}
SCSS
$custom: #122460;
$custom-light: #5e5e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122460",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 96
  },
  "hsl": {
    "h": 226.154,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28804,
    "c": 0.10922,
    "h": 266.6
  },
  "luminance": 0.02235
}

Semantic roles & 50–950 ramp

primary
#122460
secondary
#988136
accent
#C33DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122460

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

Preview Lab → · Contrast checker → · Palette generator →

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