#122B75#122B75

#122B75 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.3% C 0.131 H 265.2°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#122B75
RGBrgb(18, 43, 117)
HSLhsl(225, 73%, 26%)
HSVhsv(225, 85%, 46%)
CMYKcmyk(84.6%, 63.2%, 0%, 54.1%)
CIE-LABlab(20.60, 20.73, -45.03)
CIE-LCHlch(20.60, 49.57, 294.73°)
OKLaboklab(32.32% -0.0109 -0.1302)
OKLCHoklch(32.32% 0.131 265.2)
XYZxyz(4.3231, 3.1402, 17.2044)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B75 #755C12
analogous
#125D75 #122B75 #2A1275
triadic
#122B75 #75122B #2B7512
tetradic
#122B75 #75125D #755C12 #12752A
square
#122B75 #75125D #755C12 #12752A
split-complementary
#122B75 #752A12 #5D7512
monochromatic
#040A1B #0A1840 #122B75 #1A3EAA #2453DD

Accessibility & contrast

On white

12.90
#122B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#122B75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B75
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B75#FFFFFF#000000##FFFFFF
##122B751.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#002D74
Tritanopia (blue-blind)
#003E4B
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122b75;
/* rgb */ color: rgb(18, 43, 117);
/* oklch */ color: oklch(32.3% 0.131 265.2);
Tailwind
colors: {
  custom: {
    50: '#63639d',
    500: '#122b75',
    950: '#000000',
  },
}
SCSS
$custom: #122b75;
$custom-light: #63639d;
$custom-dark: #000000;
JSON
{
  "hex": "#122b75",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 224.848,
    "s": 73.333,
    "l": 26.471
  },
  "oklch": {
    "l": 0.32325,
    "c": 0.13069,
    "h": 265.2
  },
  "luminance": 0.03141
}

Semantic roles & 50–950 ramp

primary
#122B75
secondary
#AC8E37
accent
#C138F0
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122B75

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

Preview Lab → · Contrast checker → · Palette generator →

#122B75 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva