#122F66#122F66

#122F66 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.9% C 0.103 H 261.6°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#122F66
RGBrgb(18, 47, 102)
HSLhsl(219, 70%, 24%)
HSVhsv(219, 82%, 40%)
CMYKcmyk(82.4%, 53.9%, 0%, 60%)
CIE-LABlab(20.52, 11.48, -35.46)
CIE-LCHlch(20.52, 37.27, 287.94°)
OKLaboklab(31.87% -0.015 -0.102)
OKLCHoklch(31.87% 0.103 261.6)
XYZxyz(3.6634, 3.1205, 12.9770)
Luminance0.0312 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F66 #664912
analogous
#125966 #122F66 #1F1266
triadic
#122F66 #66122F #2F6612
tetradic
#122F66 #661259 #664912 #12661F
square
#122F66 #661259 #664912 #12661F
split-complementary
#122F66 #661F12 #596612
monochromatic
#050C1A #091732 #122F66 #1B479A #245FCE

Accessibility & contrast

On white

12.93
#122F66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#122F66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F66
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F66#FFFFFF#000000##FFFFFF
##122F661.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C3568
Deuteranopia (green-blind)
#002E65
Tritanopia (blue-blind)
#003C45
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122f66;
/* rgb */ color: rgb(18, 47, 102);
/* oklch */ color: oklch(31.9% 0.103 261.6);
Tailwind
colors: {
  custom: {
    50: '#5f6792',
    500: '#122f66',
    950: '#000000',
  },
}
SCSS
$custom: #122f66;
$custom-light: #5f6792;
$custom-dark: #000000;
JSON
{
  "hex": "#122f66",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 102
  },
  "hsl": {
    "h": 219.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.3187,
    "c": 0.10315,
    "h": 261.6
  },
  "luminance": 0.03121
}

Semantic roles & 50–950 ramp

primary
#122F66
secondary
#9E7A36
accent
#AF3BED
background
#F5F6F9
surface
#EAEBF1
border
#C6C6CB
text
#05060D
muted
#797A7E

Preview Lab

Preview with #122F66

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

Preview Lab → · Contrast checker → · Palette generator →

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