#122064#122064

#122064 is a dark, vivid blue. Relative luminance 0.021; OKLCH L 28.4% C 0.121 H 268.3°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#122064
RGBrgb(18, 32, 100)
HSLhsl(230, 69%, 23%)
HSVhsv(230, 82%, 39%)
CMYKcmyk(82%, 68%, 0%, 60.8%)
CIE-LABlab(15.91, 21.62, -41.65)
CIE-LCHlch(15.91, 46.93, 297.43°)
OKLaboklab(28.35% -0.0036 -0.1205)
OKLCHoklch(28.35% 0.121 268.3)
XYZxyz(3.0654, 2.0814, 12.2943)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122064 #645612
analogous
#124964 #122064 #2D1264
triadic
#122064 #641220 #206412
tetradic
#122064 #641249 #645612 #12642D
square
#122064 #641249 #645612 #12642D
split-complementary
#122064 #642D12 #496412
monochromatic
#05081A #090F30 #122064 #1B3198 #2541CC

Accessibility & contrast

On white

14.83
#122064 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122064
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122064#FFFFFF#000000##FFFFFF
##1220641.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002463
Tritanopia (blue-blind)
#00323E
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122064;
/* rgb */ color: rgb(18, 32, 100);
/* oklch */ color: oklch(28.4% 0.121 268.3);
Tailwind
colors: {
  custom: {
    50: '#5f5b91',
    500: '#122064',
    950: '#000000',
  },
}
SCSS
$custom: #122064;
$custom-light: #5f5b91;
$custom-dark: #000000;
JSON
{
  "hex": "#122064",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 100
  },
  "hsl": {
    "h": 229.756,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.28354,
    "c": 0.12055,
    "h": 268.3
  },
  "luminance": 0.02082
}

Semantic roles & 50–950 ramp

primary
#122064
secondary
#9C8B36
accent
#CE3BEC
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122064

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

Preview Lab → · Contrast checker → · Palette generator →

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