#122B61#122B61

#122B61 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.101 H 263.1°. Best body text is #FFFFFF at 13.60:1 contrast (WCAG AA passes).

Color values

HEX#122B61
RGBrgb(18, 43, 97)
HSLhsl(221, 69%, 23%)
HSVhsv(221, 81%, 38%)
CMYKcmyk(81.4%, 55.7%, 0%, 62%)
CIE-LABlab(18.88, 12.27, -34.83)
CIE-LCHlch(18.88, 36.93, 289.41°)
OKLaboklab(30.5% -0.0122 -0.1003)
OKLCHoklch(30.5% 0.101 263.1)
XYZxyz(3.2702, 2.7190, 11.6594)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B61 #614812
analogous
#125261 #122B61 #211261
triadic
#122B61 #61122B #2B6112
tetradic
#122B61 #611252 #614812 #126121
square
#122B61 #611252 #614812 #126121
split-complementary
#122B61 #612112 #526112
monochromatic
#050B1A #08142D #122B61 #1C4295 #2559C8

Accessibility & contrast

On white

13.60
#122B61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B61
13.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B61#FFFFFF#000000##FFFFFF
##122B611.0013.601.5413.60
#FFFFFF13.601.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122b61;
/* rgb */ color: rgb(18, 43, 97);
/* oklch */ color: oklch(30.5% 0.101 263.1);
Tailwind
colors: {
  custom: {
    50: '#5e638e',
    500: '#122b61',
    950: '#000000',
  },
}
SCSS
$custom: #122b61;
$custom-light: #5e638e;
$custom-dark: #000000;
JSON
{
  "hex": "#122b61",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 97
  },
  "hsl": {
    "h": 221.013,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.30497,
    "c": 0.10103,
    "h": 263.1
  },
  "luminance": 0.02719
}

Semantic roles & 50–950 ramp

primary
#122B61
secondary
#997A36
accent
#B43CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122B61

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

Preview Lab → · Contrast checker → · Palette generator →

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