#122175#122175

#122175 is a dark, vivid blue. Relative luminance 0.025; OKLCH L 30.4% C 0.143 H 267.9°. Best body text is #FFFFFF at 14.00:1 contrast (WCAG AA passes).

Color values

HEX#122175
RGBrgb(18, 33, 117)
HSLhsl(231, 73%, 26%)
HSVhsv(231, 85%, 46%)
CMYKcmyk(84.6%, 71.8%, 0%, 54.1%)
CIE-LABlab(17.92, 27.76, -49.42)
CIE-LCHlch(17.92, 56.68, 299.32°)
OKLaboklab(30.35% -0.0053 -0.1432)
OKLCHoklch(30.35% 0.143 267.9)
XYZxyz(4.0031, 2.5002, 17.0978)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122175 #756612
analogous
#125375 #122175 #351275
triadic
#122175 #751221 #217512
tetradic
#122175 #751253 #756612 #127535
square
#122175 #751253 #756612 #127535
split-complementary
#122175 #753512 #537512
monochromatic
#04071B #0A1240 #122175 #1A30AA #2440DD

Accessibility & contrast

On white

14.00
#122175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122175
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122175#FFFFFF#000000##FFFFFF
##1221751.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122175;
/* rgb */ color: rgb(18, 33, 117);
/* oklch */ color: oklch(30.4% 0.143 267.9);
Tailwind
colors: {
  custom: {
    50: '#645c9e',
    500: '#122175',
    950: '#000000',
  },
}
SCSS
$custom: #122175;
$custom-light: #645c9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122175",
  "rgb": {
    "r": 18,
    "g": 33,
    "b": 117
  },
  "hsl": {
    "h": 230.909,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30355,
    "c": 0.14328,
    "h": 267.9
  },
  "luminance": 0.02501
}

Semantic roles & 50–950 ramp

primary
#122175
secondary
#AC9A37
accent
#D438F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122175

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

Preview Lab → · Contrast checker → · Palette generator →

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