#122665#122665

#122665 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.114 H 266.1°. Best body text is #FFFFFF at 14.09:1 contrast (WCAG AA passes).

Color values

HEX#122665
RGBrgb(18, 38, 101)
HSLhsl(226, 70%, 23%)
HSVhsv(226, 82%, 40%)
CMYKcmyk(82.2%, 62.4%, 0%, 60.4%)
CIE-LABlab(17.71, 17.66, -39.37)
CIE-LCHlch(17.71, 43.15, 294.17°)
OKLaboklab(29.72% -0.0078 -0.1137)
OKLCHoklch(29.72% 0.114 266.1)
XYZxyz(3.2907, 2.4540, 12.6096)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122665 #655112
analogous
#124F65 #122665 #271265
triadic
#122665 #651226 #266512
tetradic
#122665 #65124F #655112 #126527
square
#122665 #65124F #655112 #126527
split-complementary
#122665 #652712 #4F6512
monochromatic
#050A1A #091231 #122665 #1B3A99 #254DCD

Accessibility & contrast

On white

14.09
#122665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122665 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122665
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122665#FFFFFF#000000##FFFFFF
##1226651.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#003641
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122665;
/* rgb */ color: rgb(18, 38, 101);
/* oklch */ color: oklch(29.7% 0.114 266.1);
Tailwind
colors: {
  custom: {
    50: '#5f5f91',
    500: '#122665',
    950: '#000000',
  },
}
SCSS
$custom: #122665;
$custom-light: #5f5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#122665",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 101
  },
  "hsl": {
    "h": 225.542,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.29719,
    "c": 0.11399,
    "h": 266.1
  },
  "luminance": 0.02454
}

Semantic roles & 50–950 ramp

primary
#122665
secondary
#9D8436
accent
#C23BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122665

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

Preview Lab → · Contrast checker → · Palette generator →

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