#122B68#122B68

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

Color values

HEX#122B68
RGBrgb(18, 43, 104)
HSLhsl(223, 70%, 24%)
HSVhsv(223, 83%, 41%)
CMYKcmyk(82.7%, 58.7%, 0%, 59.2%)
CIE-LABlab(19.46, 15.26, -38.49)
CIE-LCHlch(19.46, 41.40, 291.63°)
OKLaboklab(31.11% -0.0115 -0.111)
OKLCHoklch(31.11% 0.112 264.1)
XYZxyz(3.6111, 2.8554, 13.4548)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B68 #684F12
analogous
#125668 #122B68 #241268
triadic
#122B68 #68122B #2B6812
tetradic
#122B68 #681256 #684F12 #126824
square
#122B68 #681256 #684F12 #126824
split-complementary
#122B68 #682412 #566812
monochromatic
#050B1A #091534 #122B68 #1B419C #2456D0

Accessibility & contrast

On white

13.37
#122B68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #122B68
13.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B68#FFFFFF#000000##FFFFFF
##122B681.0013.371.5713.37
#FFFFFF13.371.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00336A
Deuteranopia (green-blind)
#002B67
Tritanopia (blue-blind)
#003A45
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #122b68;
/* rgb */ color: rgb(18, 43, 104);
/* oklch */ color: oklch(31.1% 0.112 264.1);
Tailwind
colors: {
  custom: {
    50: '#5f6394',
    500: '#122b68',
    950: '#000000',
  },
}
SCSS
$custom: #122b68;
$custom-light: #5f6394;
$custom-dark: #000000;
JSON
{
  "hex": "#122b68",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 222.558,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.31113,
    "c": 0.11163,
    "h": 264.1
  },
  "luminance": 0.02856
}

Semantic roles & 50–950 ramp

primary
#122B68
secondary
#A08136
accent
#B93BED
background
#F6F5F9
surface
#EBEAF1
border
#C6C6CB
text
#05050D
muted
#7A797E

Preview Lab

Preview with #122B68

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

Preview Lab → · Contrast checker → · Palette generator →

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