#122361#122361

#122361 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.7% C 0.112 H 267.1°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#122361
RGBrgb(18, 35, 97)
HSLhsl(227, 69%, 23%)
HSVhsv(227, 81%, 38%)
CMYKcmyk(81.4%, 63.9%, 0%, 62%)
CIE-LABlab(16.47, 18.18, -38.75)
CIE-LCHlch(16.47, 42.80, 295.14°)
OKLaboklab(28.68% -0.0057 -0.1119)
OKLCHoklch(28.68% 0.112 267.1)
XYZxyz(3.0074, 2.1934, 11.5718)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122361 #615012
analogous
#124A61 #122361 #291261
triadic
#122361 #611223 #236112
tetradic
#122361 #61124A #615012 #126129
square
#122361 #61124A #615012 #126129
split-complementary
#122361 #612912 #4A6112
monochromatic
#05091A #08102D #122361 #1C3695 #2548C8

Accessibility & contrast

On white

14.60
#122361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122361
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122361#FFFFFF#000000##FFFFFF
##1223611.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D63
Deuteranopia (green-blind)
#002560
Tritanopia (blue-blind)
#00333E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122361;
/* rgb */ color: rgb(18, 35, 97);
/* oklch */ color: oklch(28.7% 0.112 267.1);
Tailwind
colors: {
  custom: {
    50: '#5e5d8f',
    500: '#122361',
    950: '#000000',
  },
}
SCSS
$custom: #122361;
$custom-light: #5e5d8f;
$custom-dark: #000000;
JSON
{
  "hex": "#122361",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 97
  },
  "hsl": {
    "h": 227.089,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28682,
    "c": 0.1121,
    "h": 267.1
  },
  "luminance": 0.02194
}

Semantic roles & 50–950 ramp

primary
#122361
secondary
#998436
accent
#C63CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122361

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

Preview Lab → · Contrast checker → · Palette generator →

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