#122062#122062

#122062 is a dark, moderate blue. Relative luminance 0.020; OKLCH L 28.1% C 0.118 H 268.3°. Best body text is #FFFFFF at 14.91:1 contrast (WCAG AA passes).

Color values

HEX#122062
RGBrgb(18, 32, 98)
HSLhsl(230, 69%, 23%)
HSVhsv(230, 82%, 38%)
CMYKcmyk(81.6%, 67.3%, 0%, 61.6%)
CIE-LABlab(15.71, 20.79, -40.65)
CIE-LCHlch(15.71, 45.66, 297.09°)
OKLaboklab(28.15% -0.0036 -0.1176)
OKLCHoklch(28.15% 0.118 268.3)
XYZxyz(2.9698, 2.0431, 11.7908)
Luminance0.0204 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122062 #625412
analogous
#124862 #122062 #2C1262
triadic
#122062 #621220 #206212
tetradic
#122062 #621248 #625412 #12622C
square
#122062 #621248 #625412 #12622C
split-complementary
#122062 #622C12 #486212
monochromatic
#05081A #090F2E #122062 #1B3196 #2542C9

Accessibility & contrast

On white

14.91
#122062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#122062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122062
14.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122062#FFFFFF#000000##FFFFFF
##1220621.0014.911.4114.91
#FFFFFF14.911.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B64
Deuteranopia (green-blind)
#002361
Tritanopia (blue-blind)
#00313D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #122062;
/* rgb */ color: rgb(18, 32, 98);
/* oklch */ color: oklch(28.1% 0.118 268.3);
Tailwind
colors: {
  custom: {
    50: '#5f5b8f',
    500: '#122062',
    950: '#000000',
  },
}
SCSS
$custom: #122062;
$custom-light: #5f5b8f;
$custom-dark: #000000;
JSON
{
  "hex": "#122062",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 229.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28149,
    "c": 0.11762,
    "h": 268.3
  },
  "luminance": 0.02043
}

Semantic roles & 50–950 ramp

primary
#122062
secondary
#9A8936
accent
#CD3CEC
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05040C
muted
#79797D

Preview Lab

Preview with #122062

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

Preview Lab → · Contrast checker → · Palette generator →

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