#122C65#122C65

#122C65 is a dark, moderate blue. Relative luminance 0.029; OKLCH L 31.1% C 0.106 H 263.2°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#122C65
RGBrgb(18, 44, 101)
HSLhsl(221, 70%, 23%)
HSVhsv(221, 82%, 40%)
CMYKcmyk(82.2%, 56.4%, 0%, 60.4%)
CIE-LABlab(19.51, 13.25, -36.44)
CIE-LCHlch(19.51, 38.77, 289.98°)
OKLaboklab(31.08% -0.0126 -0.105)
OKLCHoklch(31.08% 0.106 263.2)
XYZxyz(3.4983, 2.8691, 12.6788)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C65 #654B12
analogous
#125565 #122C65 #211265
triadic
#122C65 #65122C #2C6512
tetradic
#122C65 #651255 #654B12 #126521
square
#122C65 #651255 #654B12 #126521
split-complementary
#122C65 #652112 #556512
monochromatic
#050B1A #091531 #122C65 #1B4399 #2559CD

Accessibility & contrast

On white

13.34
#122C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#122C65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C65
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C65#FFFFFF#000000##FFFFFF
##122C651.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#033367
Deuteranopia (green-blind)
#002C64
Tritanopia (blue-blind)
#003A44
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122c65;
/* rgb */ color: rgb(18, 44, 101);
/* oklch */ color: oklch(31.1% 0.106 263.2);
Tailwind
colors: {
  custom: {
    50: '#5f6491',
    500: '#122c65',
    950: '#000000',
  },
}
SCSS
$custom: #122c65;
$custom-light: #5f6491;
$custom-dark: #000000;
JSON
{
  "hex": "#122c65",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 101
  },
  "hsl": {
    "h": 221.205,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.31077,
    "c": 0.10574,
    "h": 263.2
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#122C65
secondary
#9D7D36
accent
#B53BED
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #122C65

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

Preview Lab → · Contrast checker → · Palette generator →

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