#122C58#122C58

#122C58 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.0% C 0.086 H 260.2°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#122C58
RGBrgb(18, 44, 88)
HSLhsl(218, 66%, 21%)
HSVhsv(218, 80%, 35%)
CMYKcmyk(79.5%, 50%, 0%, 65.5%)
CIE-LABlab(18.52, 7.67, -29.46)
CIE-LCHlch(18.52, 30.44, 284.58°)
OKLaboklab(30% -0.0145 -0.0845)
OKLCHoklch(30% 0.086 260.2)
XYZxyz(2.9110, 2.6342, 9.5857)
Luminance0.0263 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122C58 #583E12
analogous
#124F58 #122C58 #1B1258
triadic
#122C58 #58122C #2C5812
tetradic
#122C58 #58124F #583E12 #12581B
square
#122C58 #58124F #583E12 #12581B
split-complementary
#122C58 #581B12 #4F5812
monochromatic
#050D19 #081325 #122C58 #1C458B #275FBE

Accessibility & contrast

On white

13.75
#122C58 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122C58 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122C58
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122C58#FFFFFF#000000##FFFFFF
##122C581.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15315A
Deuteranopia (green-blind)
#052A57
Tritanopia (blue-blind)
#00363D
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122c58;
/* rgb */ color: rgb(18, 44, 88);
/* oklch */ color: oklch(30.0% 0.086 260.2);
Tailwind
colors: {
  custom: {
    50: '#5b6487',
    500: '#122c58',
    950: '#000000',
  },
}
SCSS
$custom: #122c58;
$custom-light: #5b6487;
$custom-dark: #000000;
JSON
{
  "hex": "#122c58",
  "rgb": {
    "r": 18,
    "g": 44,
    "b": 88
  },
  "hsl": {
    "h": 217.714,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.29998,
    "c": 0.08571,
    "h": 260.2
  },
  "luminance": 0.02635
}

Semantic roles & 50–950 ramp

primary
#122C58
secondary
#916F35
accent
#AA3FE9
background
#F5F5F8
surface
#E9EAEF
border
#C5C6CA
text
#04050B
muted
#79797C

Preview Lab

Preview with #122C58

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

Preview Lab → · Contrast checker → · Palette generator →

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