#122074#122074

#122074 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 30.1% C 0.143 H 268.1°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#122074
RGBrgb(18, 32, 116)
HSLhsl(231, 73%, 26%)
HSVhsv(231, 84%, 45%)
CMYKcmyk(84.5%, 72.4%, 0%, 54.5%)
CIE-LABlab(17.56, 28.04, -49.36)
CIE-LCHlch(17.56, 56.77, 299.60°)
OKLaboklab(30.06% -0.0048 -0.143)
OKLCHoklch(30.06% 0.143 268.1)
XYZxyz(3.9173, 2.4221, 16.7807)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122074 #746612
analogous
#125174 #122074 #351274
triadic
#122074 #741220 #207412
tetradic
#122074 #741251 #746612 #127435
square
#122074 #741251 #746612 #127435
split-complementary
#122074 #743512 #517412
monochromatic
#04071A #0A113F #122074 #1A2FA9 #233EDD

Accessibility & contrast

On white

14.15
#122074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122074 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122074
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122074#FFFFFF#000000##FFFFFF
##1220741.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003077
Deuteranopia (green-blind)
#002672
Tritanopia (blue-blind)
#003747
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122074;
/* rgb */ color: rgb(18, 32, 116);
/* oklch */ color: oklch(30.1% 0.143 268.1);
Tailwind
colors: {
  custom: {
    50: '#645b9d',
    500: '#122074',
    950: '#000000',
  },
}
SCSS
$custom: #122074;
$custom-light: #645b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#122074",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 116
  },
  "hsl": {
    "h": 231.429,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30064,
    "c": 0.1431,
    "h": 268.1
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#122074
secondary
#AB9A37
accent
#D638F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122074

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

Preview Lab → · Contrast checker → · Palette generator →

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