#122A67#122A67

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

Color values

HEX#122A67
RGBrgb(18, 42, 103)
HSLhsl(223, 70%, 24%)
HSVhsv(223, 83%, 40%)
CMYKcmyk(82.5%, 59.2%, 0%, 59.6%)
CIE-LABlab(19.07, 15.57, -38.46)
CIE-LCHlch(19.07, 41.49, 292.04°)
OKLaboklab(30.8% -0.0108 -0.111)
OKLCHoklch(30.8% 0.112 264.5)
XYZxyz(3.5247, 2.7634, 13.1770)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A67 #674F12
analogous
#125467 #122A67 #241267
triadic
#122A67 #67122A #2A6712
tetradic
#122A67 #671254 #674F12 #126724
square
#122A67 #671254 #674F12 #126724
split-complementary
#122A67 #672412 #546712
monochromatic
#050B1A #091533 #122A67 #1B3F9B #2454CF

Accessibility & contrast

On white

13.52
#122A67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122A67
13.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A67#FFFFFF#000000##FFFFFF
##122A671.0013.521.5513.52
#FFFFFF13.521.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003269
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#003944
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122a67;
/* rgb */ color: rgb(18, 42, 103);
/* oklch */ color: oklch(30.8% 0.112 264.5);
Tailwind
colors: {
  custom: {
    50: '#5f6393',
    500: '#122a67',
    950: '#000000',
  },
}
SCSS
$custom: #122a67;
$custom-light: #5f6393;
$custom-dark: #000000;
JSON
{
  "hex": "#122a67",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 103
  },
  "hsl": {
    "h": 223.059,
    "s": 70.248,
    "l": 23.725
  },
  "oklch": {
    "l": 0.30796,
    "c": 0.11151,
    "h": 264.5
  },
  "luminance": 0.02764
}

Semantic roles & 50–950 ramp

primary
#122A67
secondary
#9F8136
accent
#BB3BED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122A67

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

Preview Lab → · Contrast checker → · Palette generator →

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