#122658#122658

#122658 is a dark, moderate blue. Relative luminance 0.022; OKLCH L 28.5% C 0.094 H 264.7°. Best body text is #FFFFFF at 14.54:1 contrast (WCAG AA passes).

Color values

HEX#122658
RGBrgb(18, 38, 88)
HSLhsl(223, 66%, 21%)
HSVhsv(223, 80%, 35%)
CMYKcmyk(79.5%, 56.8%, 0%, 65.5%)
CIE-LABlab(16.60, 12.12, -32.55)
CIE-LCHlch(16.60, 34.74, 290.42°)
OKLaboklab(28.53% -0.0088 -0.0937)
OKLCHoklch(28.53% 0.094 264.7)
XYZxyz(2.7034, 2.2191, 9.5165)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122658 #584412
analogous
#124958 #122658 #211258
triadic
#122658 #581226 #265812
tetradic
#122658 #581249 #584412 #125821
square
#122658 #581249 #584412 #125821
split-complementary
#122658 #582112 #495812
monochromatic
#050B19 #081025 #122658 #1C3C8B #2752BE

Accessibility & contrast

On white

14.54
#122658 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#122658 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122658
14.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122658#FFFFFF#000000##FFFFFF
##1226581.0014.541.4414.54
#FFFFFF14.541.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042C5A
Deuteranopia (green-blind)
#002657
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #122658;
/* rgb */ color: rgb(18, 38, 88);
/* oklch */ color: oklch(28.5% 0.094 264.7);
Tailwind
colors: {
  custom: {
    50: '#5b5f88',
    500: '#122658',
    950: '#000000',
  },
}
SCSS
$custom: #122658;
$custom-light: #5b5f88;
$custom-dark: #000000;
JSON
{
  "hex": "#122658",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 222.857,
    "s": 66.038,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28532,
    "c": 0.0941,
    "h": 264.7
  },
  "luminance": 0.02219
}

Semantic roles & 50–950 ramp

primary
#122658
secondary
#917635
accent
#B83FE9
background
#F5F5F8
surface
#E9E9EF
border
#C5C5CA
text
#04040B
muted
#79797C

Preview Lab

Preview with #122658

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

Preview Lab → · Contrast checker → · Palette generator →

#122658 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva