#122F69#122F69

#122F69 is a dark, moderate blue. Relative luminance 0.032; OKLCH L 32.1% C 0.108 H 262.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#122F69
RGBrgb(18, 47, 105)
HSLhsl(220, 71%, 24%)
HSVhsv(220, 83%, 41%)
CMYKcmyk(82.9%, 55.2%, 0%, 58.8%)
CIE-LABlab(20.76, 12.77, -37.03)
CIE-LCHlch(20.76, 39.17, 289.02°)
OKLaboklab(32.12% -0.0146 -0.1067)
OKLCHoklch(32.12% 0.108 262.2)
XYZxyz(3.8149, 3.1811, 13.7748)
Luminance0.0318 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F69 #694C12
analogous
#125B69 #122F69 #211269
triadic
#122F69 #69122F #2F6912
tetradic
#122F69 #69125B #694C12 #126921
square
#122F69 #69125B #694C12 #126921
split-complementary
#122F69 #692112 #5B6912
monochromatic
#040C1A #091835 #122F69 #1B469D #245ED1

Accessibility & contrast

On white

12.83
#122F69 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#122F69 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F69
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F69#FFFFFF#000000##FFFFFF
##122F691.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06366B
Deuteranopia (green-blind)
#002E68
Tritanopia (blue-blind)
#003D47
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122f69;
/* rgb */ color: rgb(18, 47, 105);
/* oklch */ color: oklch(32.1% 0.108 262.2);
Tailwind
colors: {
  custom: {
    50: '#5f6694',
    500: '#122f69',
    950: '#000000',
  },
}
SCSS
$custom: #122f69;
$custom-light: #5f6694;
$custom-dark: #000000;
JSON
{
  "hex": "#122f69",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 105
  },
  "hsl": {
    "h": 220,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.32124,
    "c": 0.10767,
    "h": 262.2
  },
  "luminance": 0.03182
}

Semantic roles & 50–950 ramp

primary
#122F69
secondary
#A17D36
accent
#B23AED
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#05060D
muted
#7A7A7E

Preview Lab

Preview with #122F69

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

Preview Lab → · Contrast checker → · Palette generator →

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