#122D74#122D74

#122D74 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 32.7% C 0.127 H 264.5°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#122D74
RGBrgb(18, 45, 116)
HSLhsl(223, 73%, 26%)
HSVhsv(223, 84%, 45%)
CMYKcmyk(84.5%, 61.2%, 0%, 54.5%)
CIE-LABlab(21.08, 18.88, -43.60)
CIE-LCHlch(21.08, 47.51, 293.41°)
OKLaboklab(32.66% -0.0122 -0.126)
OKLCHoklch(32.66% 0.127 264.5)
XYZxyz(4.3391, 3.2658, 16.9213)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122D74 #745912
analogous
#125E74 #122D74 #281274
triadic
#122D74 #74122D #2D7412
tetradic
#122D74 #74125E #745912 #127428
square
#122D74 #74125E #745912 #127428
split-complementary
#122D74 #742812 #5E7412
monochromatic
#040A1A #0A183F #122D74 #1A42A9 #2357DD

Accessibility & contrast

On white

12.70
#122D74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#122D74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122D74
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122D74#FFFFFF#000000##FFFFFF
##122D741.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003776
Deuteranopia (green-blind)
#002E73
Tritanopia (blue-blind)
#003F4B
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122d74;
/* rgb */ color: rgb(18, 45, 116);
/* oklch */ color: oklch(32.7% 0.127 264.5);
Tailwind
colors: {
  custom: {
    50: '#63659d',
    500: '#122d74',
    950: '#000000',
  },
}
SCSS
$custom: #122d74;
$custom-light: #63659d;
$custom-dark: #000000;
JSON
{
  "hex": "#122d74",
  "rgb": {
    "r": 18,
    "g": 45,
    "b": 116
  },
  "hsl": {
    "h": 223.469,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.32657,
    "c": 0.12661,
    "h": 264.5
  },
  "luminance": 0.03266
}

Semantic roles & 50–950 ramp

primary
#122D74
secondary
#AB8B37
accent
#BD38F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #122D74

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

Preview Lab → · Contrast checker → · Palette generator →

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