#122260#122260

#122260 is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.4% C 0.112 H 267.5°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#122260
RGBrgb(18, 34, 96)
HSLhsl(228, 68%, 22%)
HSVhsv(228, 81%, 38%)
CMYKcmyk(81.3%, 64.6%, 0%, 62.4%)
CIE-LABlab(16.09, 18.50, -38.71)
CIE-LCHlch(16.09, 42.90, 295.54°)
OKLaboklab(28.37% -0.005 -0.1119)
OKLCHoklch(28.37% 0.112 267.5)
XYZxyz(2.9321, 2.1169, 11.3181)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122260 #605012
analogous
#124960 #122260 #291260
triadic
#122260 #601222 #226012
tetradic
#122260 #601249 #605012 #126029
square
#122260 #601249 #605012 #126029
split-complementary
#122260 #602912 #496012
monochromatic
#05091A #08102C #122260 #1C3494 #2547C7

Accessibility & contrast

On white

14.75
#122260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#122260 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122260
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122260#FFFFFF#000000##FFFFFF
##1222601.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122260;
/* rgb */ color: rgb(18, 34, 96);
/* oklch */ color: oklch(28.4% 0.112 267.5);
Tailwind
colors: {
  custom: {
    50: '#5e5c8e',
    500: '#122260',
    950: '#000000',
  },
}
SCSS
$custom: #122260;
$custom-light: #5e5c8e;
$custom-dark: #000000;
JSON
{
  "hex": "#122260",
  "rgb": {
    "r": 18,
    "g": 34,
    "b": 96
  },
  "hsl": {
    "h": 227.692,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.28369,
    "c": 0.11197,
    "h": 267.5
  },
  "luminance": 0.02117
}

Semantic roles & 50–950 ramp

primary
#122260
secondary
#988436
accent
#C73DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122260

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

Preview Lab → · Contrast checker → · Palette generator →

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