#122C5E#122C5E

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

Color values

HEX#122C5E
RGBrgb(18, 44, 94)
HSLhsl(219, 68%, 22%)
HSVhsv(219, 81%, 37%)
CMYKcmyk(80.9%, 53.2%, 0%, 63.1%)
CIE-LABlab(18.96, 10.24, -32.73)
CIE-LCHlch(18.96, 34.29, 287.38°)
OKLaboklab(30.48% -0.0135 -0.0941)
OKLCHoklch(30.48% 0.095 261.8)
XYZxyz(3.1698, 2.7378, 10.9489)
Luminance0.0274 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C5E #5E4412
analogous
#12525E #122C5E #1E125E
triadic
#122C5E #5E122C #2C5E12
tetradic
#122C5E #5E1252 #5E4412 #125E1E
square
#122C5E #5E1252 #5E4412 #125E1E
split-complementary
#122C5E #5E1E12 #525E12
monochromatic
#050C1A #08142B #122C5E #1C4491 #265CC5

Accessibility & contrast

On white

13.57
#122C5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#122C5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C5E
13.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C5E#FFFFFF#000000##FFFFFF
##122C5E1.0013.571.5513.57
#FFFFFF13.571.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E3260
Deuteranopia (green-blind)
#002B5D
Tritanopia (blue-blind)
#003840
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #122c5e;
/* rgb */ color: rgb(18, 44, 94);
/* oklch */ color: oklch(30.5% 0.095 261.8);
Tailwind
colors: {
  custom: {
    50: '#5d648c',
    500: '#122c5e',
    950: '#000000',
  },
}
SCSS
$custom: #122c5e;
$custom-light: #5d648c;
$custom-dark: #000000;
JSON
{
  "hex": "#122c5e",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 219.474,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.30483,
    "c": 0.09503,
    "h": 261.8
  },
  "luminance": 0.02738
}

Semantic roles & 50–950 ramp

primary
#122C5E
secondary
#967535
accent
#AF3DEB
background
#F5F5F8
surface
#E9EAF0
border
#C5C6CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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