#122465#122465

#122465 is a dark, moderate blue. Relative luminance 0.023; OKLCH L 29.3% C 0.117 H 266.9°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#122465
RGBrgb(18, 36, 101)
HSLhsl(227, 70%, 23%)
HSVhsv(227, 82%, 40%)
CMYKcmyk(82.2%, 64.4%, 0%, 60.4%)
CIE-LABlab(17.13, 19.13, -40.31)
CIE-LCHlch(17.13, 44.62, 295.38°)
OKLaboklab(29.29% -0.0064 -0.1165)
OKLCHoklch(29.29% 0.117 266.9)
XYZxyz(3.2285, 2.3296, 12.5889)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122465 #655312
analogous
#124D65 #122465 #291265
triadic
#122465 #651224 #246512
tetradic
#122465 #65124D #655312 #126529
square
#122465 #65124D #655312 #126529
split-complementary
#122465 #652912 #4D6512
monochromatic
#05091A #091131 #122465 #1B3799 #2549CD

Accessibility & contrast

On white

14.32
#122465 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#122465 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122465
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122465#FFFFFF#000000##FFFFFF
##1224651.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E67
Deuteranopia (green-blind)
#002664
Tritanopia (blue-blind)
#003540
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #122465;
/* rgb */ color: rgb(18, 36, 101);
/* oklch */ color: oklch(29.3% 0.117 266.9);
Tailwind
colors: {
  custom: {
    50: '#5f5e92',
    500: '#122465',
    950: '#000000',
  },
}
SCSS
$custom: #122465;
$custom-light: #5f5e92;
$custom-dark: #000000;
JSON
{
  "hex": "#122465",
  "rgb": {
    "r": 18,
    "g": 36,
    "b": 101
  },
  "hsl": {
    "h": 226.988,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29287,
    "c": 0.1167,
    "h": 266.9
  },
  "luminance": 0.0233
}

Semantic roles & 50–950 ramp

primary
#122465
secondary
#9D8736
accent
#C63BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122465

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

Preview Lab → · Contrast checker → · Palette generator →

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