#122F6E#122F6E

#122F6E is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.6% C 0.115 H 263.0°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#122F6E
RGBrgb(18, 47, 110)
HSLhsl(221, 72%, 25%)
HSVhsv(221, 84%, 43%)
CMYKcmyk(83.6%, 57.3%, 0%, 56.9%)
CIE-LABlab(21.16, 14.90, -39.61)
CIE-LCHlch(21.16, 42.32, 290.61°)
OKLaboklab(32.56% -0.0141 -0.1143)
OKLCHoklch(32.56% 0.115 263)
XYZxyz(4.0794, 3.2869, 15.1683)
Luminance0.0329 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F6E #6E5112
analogous
#125D6E #122F6E #23126E
triadic
#122F6E #6E122F #2F6E12
tetradic
#122F6E #6E125D #6E5112 #126E23
square
#122F6E #6E125D #6E5112 #126E23
split-complementary
#122F6E #6E2312 #5D6E12
monochromatic
#040B1A #091939 #122F6E #1B45A3 #235CD7

Accessibility & contrast

On white

12.67
#122F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#122F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F6E
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F6E#FFFFFF#000000##FFFFFF
##122F6E1.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003770
Deuteranopia (green-blind)
#002F6D
Tritanopia (blue-blind)
#003F49
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122f6e;
/* rgb */ color: rgb(18, 47, 110);
/* oklch */ color: oklch(32.6% 0.115 263.0);
Tailwind
colors: {
  custom: {
    50: '#616798',
    500: '#122f6e',
    950: '#000000',
  },
}
SCSS
$custom: #122f6e;
$custom-light: #616798;
$custom-dark: #000000;
JSON
{
  "hex": "#122f6e",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 221.087,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.32557,
    "c": 0.11513,
    "h": 263
  },
  "luminance": 0.03287
}

Semantic roles & 50–950 ramp

primary
#122F6E
secondary
#A58237
accent
#B539EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #122F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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