#122065#122065

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

Color values

HEX#122065
RGBrgb(18, 32, 101)
HSLhsl(230, 70%, 23%)
HSVhsv(230, 82%, 40%)
CMYKcmyk(82.2%, 68.3%, 0%, 60.4%)
CIE-LABlab(16.01, 22.03, -42.15)
CIE-LCHlch(16.01, 47.56, 297.59°)
OKLaboklab(28.46% -0.0037 -0.1219)
OKLCHoklch(28.46% 0.122 268.3)
XYZxyz(3.1141, 2.1009, 12.5508)
Luminance0.0210 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122065 #655712
analogous
#124965 #122065 #2D1265
triadic
#122065 #651220 #206512
tetradic
#122065 #651249 #655712 #12652D
square
#122065 #651249 #655712 #12652D
split-complementary
#122065 #652D12 #496512
monochromatic
#05081A #091031 #122065 #1B3099 #2541CD

Accessibility & contrast

On white

14.79
#122065 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122065
14.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122065#FFFFFF#000000##FFFFFF
##1220651.0014.791.4214.79
#FFFFFF14.791.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C67
Deuteranopia (green-blind)
#002464
Tritanopia (blue-blind)
#00323F
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #122065;
/* rgb */ color: rgb(18, 32, 101);
/* oklch */ color: oklch(28.5% 0.122 268.3);
Tailwind
colors: {
  custom: {
    50: '#605b92',
    500: '#122065',
    950: '#000000',
  },
}
SCSS
$custom: #122065;
$custom-light: #605b92;
$custom-dark: #000000;
JSON
{
  "hex": "#122065",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 101
  },
  "hsl": {
    "h": 229.88,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28458,
    "c": 0.12201,
    "h": 268.3
  },
  "luminance": 0.02101
}

Semantic roles & 50–950 ramp

primary
#122065
secondary
#9D8B36
accent
#CF3BED
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#05040D
muted
#79797E

Preview Lab

Preview with #122065

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

Preview Lab → · Contrast checker → · Palette generator →

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