#122B65#122B65

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

Color values

HEX#122B65
RGBrgb(18, 43, 101)
HSLhsl(222, 70%, 23%)
HSVhsv(222, 82%, 40%)
CMYKcmyk(82.2%, 57.4%, 0%, 60.4%)
CIE-LABlab(19.21, 13.99, -36.93)
CIE-LCHlch(19.21, 39.49, 290.74°)
OKLaboklab(30.85% -0.0117 -0.1065)
OKLCHoklch(30.85% 0.107 263.7)
XYZxyz(3.4615, 2.7955, 12.6666)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B65 #654C12
analogous
#125465 #122B65 #221265
triadic
#122B65 #65122B #2B6512
tetradic
#122B65 #651254 #654C12 #126522
square
#122B65 #651254 #654C12 #126522
split-complementary
#122B65 #652212 #546512
monochromatic
#050B1A #091531 #122B65 #1B4199 #2557CD

Accessibility & contrast

On white

13.47
#122B65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B65
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B65#FFFFFF#000000##FFFFFF
##122B651.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#003943
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122b65;
/* rgb */ color: rgb(18, 43, 101);
/* oklch */ color: oklch(30.8% 0.107 263.7);
Tailwind
colors: {
  custom: {
    50: '#5f6391',
    500: '#122b65',
    950: '#000000',
  },
}
SCSS
$custom: #122b65;
$custom-light: #5f6391;
$custom-dark: #000000;
JSON
{
  "hex": "#122b65",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 101
  },
  "hsl": {
    "h": 221.928,
    "s": 69.748,
    "l": 23.333
  },
  "oklch": {
    "l": 0.30845,
    "c": 0.10712,
    "h": 263.7
  },
  "luminance": 0.02796
}

Semantic roles & 50–950 ramp

primary
#122B65
secondary
#9D7E36
accent
#B73BED
background
#F5F5F9
surface
#EAEAF1
border
#C6C6CB
text
#05050D
muted
#79797E

Preview Lab

Preview with #122B65

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

Preview Lab → · Contrast checker → · Palette generator →

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