#122B60#122B60

#122B60 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.4% C 0.099 H 262.9°. Best body text is #FFFFFF at 13.63:1 contrast (WCAG AA passes).

Color values

HEX#122B60
RGBrgb(18, 43, 96)
HSLhsl(221, 68%, 22%)
HSVhsv(221, 81%, 38%)
CMYKcmyk(81.3%, 55.2%, 0%, 62.4%)
CIE-LABlab(18.80, 11.84, -34.30)
CIE-LCHlch(18.80, 36.29, 289.05°)
OKLaboklab(30.41% -0.0123 -0.0987)
OKLCHoklch(30.41% 0.099 262.9)
XYZxyz(3.2239, 2.7005, 11.4154)
Luminance0.0270 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B60 #604712
analogous
#125260 #122B60 #201260
triadic
#122B60 #60122B #2B6012
tetradic
#122B60 #601252 #604712 #126020
square
#122B60 #601252 #604712 #126020
split-complementary
#122B60 #602012 #526012
monochromatic
#050C1A #08142C #122B60 #1C4294 #2559C7

Accessibility & contrast

On white

13.63
#122B60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#122B60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B60
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B60#FFFFFF#000000##FFFFFF
##122B601.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#083162
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#003841
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122b60;
/* rgb */ color: rgb(18, 43, 96);
/* oklch */ color: oklch(30.4% 0.099 262.9);
Tailwind
colors: {
  custom: {
    50: '#5d638e',
    500: '#122b60',
    950: '#000000',
  },
}
SCSS
$custom: #122b60;
$custom-light: #5d638e;
$custom-dark: #000000;
JSON
{
  "hex": "#122b60",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 220.769,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.30411,
    "c": 0.09949,
    "h": 262.9
  },
  "luminance": 0.02701
}

Semantic roles & 50–950 ramp

primary
#122B60
secondary
#987936
accent
#B33DEB
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122B60

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

Preview Lab → · Contrast checker → · Palette generator →

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