#122B4E#122B4E

#122B4E is a dark, moderate blue. Relative luminance 0.024; OKLCH L 29.0% C 0.071 H 257.3°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#122B4E
RGBrgb(18, 43, 78)
HSLhsl(215, 63%, 19%)
HSVhsv(215, 77%, 31%)
CMYKcmyk(76.9%, 44.9%, 0%, 69.4%)
CIE-LABlab(17.49, 4.11, -24.39)
CIE-LCHlch(17.49, 24.73, 279.57°)
OKLaboklab(28.98% -0.0157 -0.0696)
OKLCHoklch(28.98% 0.071 257.3)
XYZxyz(2.4880, 2.4061, 7.5396)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B4E #4E3512
analogous
#12494E #122B4E #17124E
triadic
#122B4E #4E122B #2B4E12
tetradic
#122B4E #4E1249 #4E3512 #124E17
square
#122B4E #4E1249 #4E3512 #124E17
split-complementary
#122B4E #4E1712 #494E12
monochromatic
#060E19 #07101C #122B4E #1D4680 #2962B1

Accessibility & contrast

On white

14.18
#122B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B4E
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B4E#FFFFFF#000000##FFFFFF
##122B4E1.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2E4F
Deuteranopia (green-blind)
#11284D
Tritanopia (blue-blind)
#003338
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #122b4e;
/* rgb */ color: rgb(18, 43, 78);
/* oklch */ color: oklch(29.0% 0.071 257.3);
Tailwind
colors: {
  custom: {
    50: '#596380',
    500: '#122b4e',
    950: '#000000',
  },
}
SCSS
$custom: #122b4e;
$custom-light: #596380;
$custom-dark: #000000;
JSON
{
  "hex": "#122b4e",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 215,
    "s": 62.5,
    "l": 18.824
  },
  "oklch": {
    "l": 0.2898,
    "c": 0.07133,
    "h": 257.3
  },
  "luminance": 0.02406
}

Semantic roles & 50–950 ramp

primary
#122B4E
secondary
#876535
accent
#A242E6
background
#F5F5F7
surface
#E9EAEE
border
#C5C6C9
text
#04050A
muted
#79797C

Preview Lab

Preview with #122B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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