#122B6E#122B6E

#122B6E is a dark, vivid blue. Relative luminance 0.030; OKLCH L 31.7% C 0.121 H 264.7°. Best body text is #FFFFFF at 13.15:1 contrast (WCAG AA passes).

Color values

HEX#122B6E
RGBrgb(18, 43, 110)
HSLhsl(224, 72%, 25%)
HSVhsv(224, 84%, 43%)
CMYKcmyk(83.6%, 60.9%, 0%, 56.9%)
CIE-LABlab(19.97, 17.81, -41.54)
CIE-LCHlch(19.97, 45.20, 293.20°)
OKLaboklab(31.66% -0.0111 -0.12)
OKLCHoklch(31.66% 0.121 264.7)
XYZxyz(3.9268, 2.9817, 15.1174)
Luminance0.0298 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122B6E #6E5512
analogous
#12596E #122B6E #27126E
triadic
#122B6E #6E122B #2B6E12
tetradic
#122B6E #6E1259 #6E5512 #126E27
square
#122B6E #6E1259 #6E5512 #126E27
split-complementary
#122B6E #6E2712 #596E12
monochromatic
#040A1A #091639 #122B6E #1B40A3 #2354D7

Accessibility & contrast

On white

13.15
#122B6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#122B6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122B6E
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122B6E#FFFFFF#000000##FFFFFF
##122B6E1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003570
Deuteranopia (green-blind)
#002C6D
Tritanopia (blue-blind)
#003C48
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122b6e;
/* rgb */ color: rgb(18, 43, 110);
/* oklch */ color: oklch(31.7% 0.121 264.7);
Tailwind
colors: {
  custom: {
    50: '#616398',
    500: '#122b6e',
    950: '#000000',
  },
}
SCSS
$custom: #122b6e;
$custom-light: #616398;
$custom-dark: #000000;
JSON
{
  "hex": "#122b6e",
  "rgb": {
    "r": 18,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 223.696,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.31662,
    "c": 0.12054,
    "h": 264.7
  },
  "luminance": 0.02982
}

Semantic roles & 50–950 ramp

primary
#122B6E
secondary
#A58737
accent
#BD39EF
background
#F6F5F9
surface
#EBEAF2
border
#C6C6CC
text
#06050E
muted
#7A797E

Preview Lab

Preview with #122B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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