#122F70#122F70

#122F70 is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.7% C 0.118 H 263.2°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#122F70
RGBrgb(18, 47, 112)
HSLhsl(221, 72%, 25%)
HSVhsv(221, 84%, 44%)
CMYKcmyk(83.9%, 58%, 0%, 56.1%)
CIE-LABlab(21.32, 15.75, -40.63)
CIE-LCHlch(21.32, 43.58, 291.18°)
OKLaboklab(32.73% -0.0139 -0.1173)
OKLCHoklch(32.73% 0.118 263.2)
XYZxyz(4.1896, 3.3310, 15.7482)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F70 #705312
analogous
#125E70 #122F70 #241270
triadic
#122F70 #70122F #2F7012
tetradic
#122F70 #70125E #705312 #127024
square
#122F70 #70125E #705312 #127024
split-complementary
#122F70 #702412 #5E7012
monochromatic
#040B1A #0A193B #122F70 #1A45A5 #235BD9

Accessibility & contrast

On white

12.60
#122F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#122F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F70
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F70#FFFFFF#000000##FFFFFF
##122F701.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003872
Deuteranopia (green-blind)
#002F6F
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122f70;
/* rgb */ color: rgb(18, 47, 112);
/* oklch */ color: oklch(32.7% 0.118 263.2);
Tailwind
colors: {
  custom: {
    50: '#61679a',
    500: '#122f70',
    950: '#000000',
  },
}
SCSS
$custom: #122f70;
$custom-light: #61679a;
$custom-dark: #000000;
JSON
{
  "hex": "#122f70",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 221.489,
    "s": 72.308,
    "l": 25.49
  },
  "oklch": {
    "l": 0.32734,
    "c": 0.11809,
    "h": 263.2
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#122F70
secondary
#A78437
accent
#B739EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #122F70

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

Preview Lab → · Contrast checker → · Palette generator →

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