#122B64#122B64

#122B64 is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.8% C 0.106 H 263.6°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#122B64
RGBrgb(18, 43, 100)
HSLhsl(222, 69%, 23%)
HSVhsv(222, 82%, 39%)
CMYKcmyk(82%, 57%, 0%, 60.8%)
CIE-LABlab(19.12, 13.56, -36.41)
CIE-LCHlch(19.12, 38.85, 290.42°)
OKLaboklab(30.76% -0.0118 -0.1049)
OKLCHoklch(30.76% 0.106 263.6)
XYZxyz(3.4128, 2.7761, 12.4101)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B64 #644B12
analogous
#125464 #122B64 #221264
triadic
#122B64 #64122B #2B6412
tetradic
#122B64 #641254 #644B12 #126422
square
#122B64 #641254 #644B12 #126422
split-complementary
#122B64 #642212 #546412
monochromatic
#050B1A #091530 #122B64 #1B4198 #2558CC

Accessibility & contrast

On white

13.50
#122B64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#122B64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B64
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B64#FFFFFF#000000##FFFFFF
##122B641.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#013266
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122b64;
/* rgb */ color: rgb(18, 43, 100);
/* oklch */ color: oklch(30.8% 0.106 263.6);
Tailwind
colors: {
  custom: {
    50: '#5e6391',
    500: '#122b64',
    950: '#000000',
  },
}
SCSS
$custom: #122b64;
$custom-light: #5e6391;
$custom-dark: #000000;
JSON
{
  "hex": "#122b64",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 221.707,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30757,
    "c": 0.10561,
    "h": 263.6
  },
  "luminance": 0.02776
}

Semantic roles & 50–950 ramp

primary
#122B64
secondary
#9C7D36
accent
#B63BEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #122B64

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

Preview Lab → · Contrast checker → · Palette generator →

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