#122B63#122B63

#122B63 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.104 H 263.4°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#122B63
RGBrgb(18, 43, 99)
HSLhsl(221, 69%, 23%)
HSVhsv(221, 82%, 39%)
CMYKcmyk(81.8%, 56.6%, 0%, 61.2%)
CIE-LABlab(19.04, 13.13, -35.89)
CIE-LCHlch(19.04, 38.21, 290.10°)
OKLaboklab(30.67% -0.012 -0.1034)
OKLCHoklch(30.67% 0.104 263.4)
XYZxyz(3.3647, 2.7568, 12.1568)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B63 #634A12
analogous
#125463 #122B63 #211263
triadic
#122B63 #63122B #2B6312
tetradic
#122B63 #631254 #634A12 #126321
square
#122B63 #631254 #634A12 #126321
split-complementary
#122B63 #632112 #546312
monochromatic
#050B1A #09152F #122B63 #1B4197 #2558CB

Accessibility & contrast

On white

13.54
#122B63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122B63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B63
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B63#FFFFFF#000000##FFFFFF
##122B631.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033265
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#003942
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122b63;
/* rgb */ color: rgb(18, 43, 99);
/* oklch */ color: oklch(30.7% 0.104 263.4);
Tailwind
colors: {
  custom: {
    50: '#5e6390',
    500: '#122b63',
    950: '#000000',
  },
}
SCSS
$custom: #122b63;
$custom-light: #5e6390;
$custom-dark: #000000;
JSON
{
  "hex": "#122b63",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 99
  },
  "hsl": {
    "h": 221.481,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3067,
    "c": 0.10409,
    "h": 263.4
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#122B63
secondary
#9B7C36
accent
#B63CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122B63

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

Preview Lab → · Contrast checker → · Palette generator →

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