#122F74#122F74

#122F74 is a dark, vivid blue. Relative luminance 0.034; OKLCH L 33.1% C 0.124 H 263.7°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#122F74
RGBrgb(18, 47, 116)
HSLhsl(222, 73%, 26%)
HSVhsv(222, 84%, 45%)
CMYKcmyk(84.5%, 59.5%, 0%, 54.5%)
CIE-LABlab(21.66, 17.43, -42.65)
CIE-LCHlch(21.66, 46.08, 292.23°)
OKLaboklab(33.09% -0.0136 -0.1232)
OKLCHoklch(33.09% 0.124 263.7)
XYZxyz(4.4172, 3.4221, 16.9473)
Luminance0.0342 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F74 #745712
analogous
#126074 #122F74 #261274
triadic
#122F74 #74122F #2F7412
tetradic
#122F74 #741260 #745712 #127426
square
#122F74 #741260 #745712 #127426
split-complementary
#122F74 #742612 #607412
monochromatic
#040B1A #0A1A3F #122F74 #1A44A9 #235ADD

Accessibility & contrast

On white

12.47
#122F74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#122F74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F74
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F74#FFFFFF#000000##FFFFFF
##122F741.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003976
Deuteranopia (green-blind)
#003073
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #122f74;
/* rgb */ color: rgb(18, 47, 116);
/* oklch */ color: oklch(33.1% 0.124 263.7);
Tailwind
colors: {
  custom: {
    50: '#63679d',
    500: '#122f74',
    950: '#000000',
  },
}
SCSS
$custom: #122f74;
$custom-light: #63679d;
$custom-dark: #000000;
JSON
{
  "hex": "#122f74",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 116
  },
  "hsl": {
    "h": 222.245,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33094,
    "c": 0.12395,
    "h": 263.7
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#122F74
secondary
#AB8837
accent
#B938F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #122F74

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

Preview Lab → · Contrast checker → · Palette generator →

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