#122F5E#122F5E

#122F5E is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.2% C 0.091 H 259.7°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#122F5E
RGBrgb(18, 47, 94)
HSLhsl(217, 68%, 22%)
HSVhsv(217, 81%, 37%)
CMYKcmyk(80.9%, 50%, 0%, 63.1%)
CIE-LABlab(19.92, 8.05, -31.18)
CIE-LCHlch(19.92, 32.20, 284.47°)
OKLaboklab(31.22% -0.0163 -0.0895)
OKLCHoklch(31.22% 0.091 259.7)
XYZxyz(3.2856, 2.9694, 10.9875)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122F5E #5E4112
analogous
#12555E #122F5E #1B125E
triadic
#122F5E #5E122F #2F5E12
tetradic
#122F5E #5E1255 #5E4112 #125E1B
square
#122F5E #5E1255 #5E4112 #125E1B
split-complementary
#122F5E #5E1B12 #555E12
monochromatic
#050D1A #08152B #122F5E #1C4991 #2662C5

Accessibility & contrast

On white

13.17
#122F5E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#122F5E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122F5E
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122F5E#FFFFFF#000000##FFFFFF
##122F5E1.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163460
Deuteranopia (green-blind)
#042D5D
Tritanopia (blue-blind)
#003A42
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #122f5e;
/* rgb */ color: rgb(18, 47, 94);
/* oklch */ color: oklch(31.2% 0.091 259.7);
Tailwind
colors: {
  custom: {
    50: '#5c678c',
    500: '#122f5e',
    950: '#000000',
  },
}
SCSS
$custom: #122f5e;
$custom-light: #5c678c;
$custom-dark: #000000;
JSON
{
  "hex": "#122f5e",
  "rgb": {
    "r": 18,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 217.105,
    "s": 67.857,
    "l": 21.961
  },
  "oklch": {
    "l": 0.31219,
    "c": 0.09093,
    "h": 259.7
  },
  "luminance": 0.0297
}

Semantic roles & 50–950 ramp

primary
#122F5E
secondary
#967135
accent
#A83DEB
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#05060C
muted
#797A7D

Preview Lab

Preview with #122F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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