#122B6F#122B6F

#122B6F is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.8% C 0.122 H 264.8°. Best body text is #FFFFFF at 13.12:1 contrast (WCAG AA passes).

Color values

HEX#122B6F
RGBrgb(18, 43, 111)
HSLhsl(224, 72%, 25%)
HSVhsv(224, 84%, 44%)
CMYKcmyk(83.8%, 61.3%, 0%, 56.5%)
CIE-LABlab(20.06, 18.23, -42.05)
CIE-LCHlch(20.06, 45.83, 293.44°)
OKLaboklab(31.76% -0.0111 -0.1215)
OKLCHoklch(31.76% 0.122 264.8)
XYZxyz(3.9816, 3.0036, 15.4057)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B6F #6F5612
analogous
#12596F #122B6F #27126F
triadic
#122B6F #6F122B #2B6F12
tetradic
#122B6F #6F1259 #6F5612 #126F27
square
#122B6F #6F1259 #6F5612 #126F27
split-complementary
#122B6F #6F2712 #596F12
monochromatic
#040A1A #09173A #122B6F #1B3FA4 #2354D8

Accessibility & contrast

On white

13.12
#122B6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#122B6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B6F
13.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B6F#FFFFFF#000000##FFFFFF
##122B6F1.0013.121.6013.12
#FFFFFF13.121.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003571
Deuteranopia (green-blind)
#002C6E
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122b6f;
/* rgb */ color: rgb(18, 43, 111);
/* oklch */ color: oklch(31.8% 0.122 264.8);
Tailwind
colors: {
  custom: {
    50: '#616399',
    500: '#122b6f',
    950: '#000000',
  },
}
SCSS
$custom: #122b6f;
$custom-light: #616399;
$custom-dark: #000000;
JSON
{
  "hex": "#122b6f",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 111
  },
  "hsl": {
    "h": 223.871,
    "s": 72.093,
    "l": 25.294
  },
  "oklch": {
    "l": 0.31755,
    "c": 0.122,
    "h": 264.8
  },
  "luminance": 0.03004
}

Semantic roles & 50–950 ramp

primary
#122B6F
secondary
#A68837
accent
#BE39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122B6F

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

Preview Lab → · Contrast checker → · Palette generator →

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