#122075#122075

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

Color values

HEX#122075
RGBrgb(18, 32, 117)
HSLhsl(232, 73%, 26%)
HSVhsv(232, 85%, 46%)
CMYKcmyk(84.6%, 72.6%, 0%, 54.1%)
CIE-LABlab(17.67, 28.43, -49.83)
CIE-LCHlch(17.67, 57.37, 299.71°)
OKLaboklab(30.17% -0.0049 -0.1444)
OKLCHoklch(30.17% 0.144 268.1)
XYZxyz(3.9757, 2.4455, 17.0887)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122075 #756712
analogous
#125275 #122075 #361275
triadic
#122075 #751220 #207512
tetradic
#122075 #751252 #756712 #127536
square
#122075 #751252 #756712 #127536
split-complementary
#122075 #753612 #527512
monochromatic
#04071B #0A1140 #122075 #1A2FAA #243EDD

Accessibility & contrast

On white

14.10
#122075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#122075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122075
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122075#FFFFFF#000000##FFFFFF
##1220751.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003078
Deuteranopia (green-blind)
#002773
Tritanopia (blue-blind)
#003848
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122075;
/* rgb */ color: rgb(18, 32, 117);
/* oklch */ color: oklch(30.2% 0.144 268.1);
Tailwind
colors: {
  custom: {
    50: '#645b9e',
    500: '#122075',
    950: '#000000',
  },
}
SCSS
$custom: #122075;
$custom-light: #645b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122075",
  "rgb": {
    "r": 18,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 231.515,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30174,
    "c": 0.14445,
    "h": 268.1
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#122075
secondary
#AC9B37
accent
#D638F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#07040E
muted
#7A797E

Preview Lab

Preview with #122075

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

Preview Lab → · Contrast checker → · Palette generator →

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