#122B62#122B62

#122B62 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.103 H 263.2°. Best body text is #FFFFFF at 13.57:1 contrast (WCAG AA passes).

Color values

HEX#122B62
RGBrgb(18, 43, 98)
HSLhsl(221, 69%, 23%)
HSVhsv(221, 82%, 38%)
CMYKcmyk(81.6%, 56.1%, 0%, 61.6%)
CIE-LABlab(18.96, 12.70, -35.36)
CIE-LCHlch(18.96, 37.57, 289.76°)
OKLaboklab(30.58% -0.0121 -0.1018)
OKLCHoklch(30.58% 0.103 263.2)
XYZxyz(3.3171, 2.7378, 11.9065)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B62 #624912
analogous
#125362 #122B62 #211262
triadic
#122B62 #62122B #2B6212
tetradic
#122B62 #621253 #624912 #126221
square
#122B62 #621253 #624912 #126221
split-complementary
#122B62 #622112 #536212
monochromatic
#050B1A #09142E #122B62 #1B4296 #2558C9

Accessibility & contrast

On white

13.57
#122B62 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B62
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B62#FFFFFF#000000##FFFFFF
##122B621.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043264
Deuteranopia (green-blind)
#002B61
Tritanopia (blue-blind)
#003842
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122b62;
/* rgb */ color: rgb(18, 43, 98);
/* oklch */ color: oklch(30.6% 0.103 263.2);
Tailwind
colors: {
  custom: {
    50: '#5e638f',
    500: '#122b62',
    950: '#000000',
  },
}
SCSS
$custom: #122b62;
$custom-light: #5e638f;
$custom-dark: #000000;
JSON
{
  "hex": "#122b62",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 98
  },
  "hsl": {
    "h": 221.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.30583,
    "c": 0.10256,
    "h": 263.2
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#122B62
secondary
#9A7B36
accent
#B53CEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122B62

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

Preview Lab → · Contrast checker → · Palette generator →

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