#122360#122360

#122360 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.6% C 0.111 H 267.0°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#122360
RGBrgb(18, 35, 96)
HSLhsl(227, 68%, 22%)
HSVhsv(227, 81%, 38%)
CMYKcmyk(81.3%, 63.5%, 0%, 62.4%)
CIE-LABlab(16.38, 17.76, -38.24)
CIE-LCHlch(16.38, 42.16, 294.92°)
OKLaboklab(28.59% -0.0057 -0.1104)
OKLCHoklch(28.59% 0.111 267)
XYZxyz(2.9611, 2.1749, 11.3278)
Luminance0.0217 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122360 #604F12
analogous
#124A60 #122360 #281260
triadic
#122360 #601223 #236012
tetradic
#122360 #60124A #604F12 #126028
square
#122360 #60124A #604F12 #126028
split-complementary
#122360 #602812 #4A6012
monochromatic
#05091A #08102C #122360 #1C3694 #2549C7

Accessibility & contrast

On white

14.63
#122360 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122360 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122360
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122360#FFFFFF#000000##FFFFFF
##1223601.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#00255F
Tritanopia (blue-blind)
#00323D
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122360;
/* rgb */ color: rgb(18, 35, 96);
/* oklch */ color: oklch(28.6% 0.111 267.0);
Tailwind
colors: {
  custom: {
    50: '#5e5d8e',
    500: '#122360',
    950: '#000000',
  },
}
SCSS
$custom: #122360;
$custom-light: #5e5d8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122360",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 96
  },
  "hsl": {
    "h": 226.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28585,
    "c": 0.1106,
    "h": 267
  },
  "luminance": 0.02175
}

Semantic roles & 50–950 ramp

primary
#122360
secondary
#988336
accent
#C53DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122360

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

Preview Lab → · Contrast checker → · Palette generator →

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