#122068#122068

#122068 is a dark, vivid blue. Relative luminance 0.022; OKLCH L 28.8% C 0.126 H 268.3°. Best body text is #FFFFFF at 14.66:1 contrast (WCAG AA passes).

Color values

HEX#122068
RGBrgb(18, 32, 104)
HSLhsl(230, 70%, 24%)
HSVhsv(230, 83%, 41%)
CMYKcmyk(82.7%, 69.2%, 0%, 59.2%)
CIE-LABlab(16.31, 23.25, -43.63)
CIE-LCHlch(16.31, 49.44, 298.06°)
OKLaboklab(28.77% -0.0038 -0.1263)
OKLCHoklch(28.77% 0.126 268.3)
XYZxyz(3.2638, 2.1607, 13.3391)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122068 #685A12
analogous
#124B68 #122068 #2F1268
triadic
#122068 #681220 #206812
tetradic
#122068 #68124B #685A12 #12682F
square
#122068 #68124B #685A12 #12682F
split-complementary
#122068 #682F12 #4B6812
monochromatic
#05081A #091034 #122068 #1B309C #2440D0

Accessibility & contrast

On white

14.66
#122068 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#122068 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122068
14.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122068#FFFFFF#000000##FFFFFF
##1220681.0014.661.4314.66
#FFFFFF14.661.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6A
Deuteranopia (green-blind)
#002467
Tritanopia (blue-blind)
#003341
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122068;
/* rgb */ color: rgb(18, 32, 104);
/* oklch */ color: oklch(28.8% 0.126 268.3);
Tailwind
colors: {
  custom: {
    50: '#615b94',
    500: '#122068',
    950: '#000000',
  },
}
SCSS
$custom: #122068;
$custom-light: #615b94;
$custom-dark: #000000;
JSON
{
  "hex": "#122068",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 104
  },
  "hsl": {
    "h": 230.233,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.28771,
    "c": 0.12633,
    "h": 268.3
  },
  "luminance": 0.02161
}

Semantic roles & 50–950 ramp

primary
#122068
secondary
#A08E36
accent
#D03BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#06040D
muted
#7A797E

Preview Lab

Preview with #122068

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

Preview Lab → · Contrast checker → · Palette generator →

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