#122A64#122A64

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

Color values

HEX#122A64
RGBrgb(18, 42, 100)
HSLhsl(222, 69%, 23%)
HSVhsv(222, 82%, 39%)
CMYKcmyk(82%, 58%, 0%, 60.8%)
CIE-LABlab(18.82, 14.30, -36.91)
CIE-LCHlch(18.82, 39.58, 291.17°)
OKLaboklab(30.53% -0.011 -0.1064)
OKLCHoklch(30.53% 0.107 264.1)
XYZxyz(3.3769, 2.7042, 12.3981)
Luminance0.0271 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122A64 #644C12
analogous
#125364 #122A64 #231264
triadic
#122A64 #64122A #2A6412
tetradic
#122A64 #641253 #644C12 #126423
square
#122A64 #641253 #644C12 #126423
split-complementary
#122A64 #642312 #536412
monochromatic
#050B1A #091430 #122A64 #1B4098 #2556CC

Accessibility & contrast

On white

13.63
#122A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122A64
13.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122A64#FFFFFF#000000##FFFFFF
##122A641.0013.631.5413.63
#FFFFFF13.631.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #122a64;
/* rgb */ color: rgb(18, 42, 100);
/* oklch */ color: oklch(30.5% 0.107 264.1);
Tailwind
colors: {
  custom: {
    50: '#5e6391',
    500: '#122a64',
    950: '#000000',
  },
}
SCSS
$custom: #122a64;
$custom-light: #5e6391;
$custom-dark: #000000;
JSON
{
  "hex": "#122a64",
  "rgb": {
    "r": 18,
    "g": 42,
    "b": 100
  },
  "hsl": {
    "h": 222.439,
    "s": 69.492,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30526,
    "c": 0.10699,
    "h": 264.1
  },
  "luminance": 0.02705
}

Semantic roles & 50–950 ramp

primary
#122A64
secondary
#9C7E36
accent
#B93BEC
background
#F5F5F8
surface
#EAEAF0
border
#C6C6CB
text
#05050D
muted
#79797D

Preview Lab

Preview with #122A64

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

Preview Lab → · Contrast checker → · Palette generator →

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