#122B4F#122B4F

#122B4F is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.1% C 0.073 H 257.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#122B4F
RGBrgb(18, 43, 79)
HSLhsl(215, 63%, 19%)
HSVhsv(215, 77%, 31%)
CMYKcmyk(77.2%, 45.6%, 0%, 69%)
CIE-LABlab(17.56, 4.54, -24.96)
CIE-LCHlch(17.56, 25.37, 280.30°)
OKLaboklab(29.05% -0.0154 -0.0712)
OKLCHoklch(29.05% 0.073 257.8)
XYZxyz(2.5241, 2.4206, 7.7298)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B4F #4F3612
analogous
#124A4F #122B4F #18124F
triadic
#122B4F #4F122B #2B4F12
tetradic
#122B4F #4F124A #4F3612 #124F18
square
#122B4F #4F124A #4F3612 #124F18
split-complementary
#122B4F #4F1812 #4A4F12
monochromatic
#060E19 #07101D #122B4F #1D4681 #2961B3

Accessibility & contrast

On white

14.15
#122B4F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#122B4F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B4F
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B4F#FFFFFF#000000##FFFFFF
##122B4F1.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2E50
Deuteranopia (green-blind)
#10284E
Tritanopia (blue-blind)
#003339
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122b4f;
/* rgb */ color: rgb(18, 43, 79);
/* oklch */ color: oklch(29.1% 0.073 257.8);
Tailwind
colors: {
  custom: {
    50: '#596380',
    500: '#122b4f',
    950: '#000000',
  },
}
SCSS
$custom: #122b4f;
$custom-light: #596380;
$custom-dark: #000000;
JSON
{
  "hex": "#122b4f",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 79
  },
  "hsl": {
    "h": 215.41,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29053,
    "c": 0.07291,
    "h": 257.8
  },
  "luminance": 0.02421
}

Semantic roles & 50–950 ramp

primary
#122B4F
secondary
#886635
accent
#A342E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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