#122860#122860

#122860 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.7% C 0.104 H 264.6°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#122860
RGBrgb(18, 40, 96)
HSLhsl(223, 68%, 22%)
HSVhsv(223, 81%, 38%)
CMYKcmyk(81.3%, 58.3%, 0%, 62.4%)
CIE-LABlab(17.88, 14.06, -35.80)
CIE-LCHlch(17.88, 38.47, 291.44°)
OKLaboklab(29.71% -0.0097 -0.1032)
OKLCHoklch(29.71% 0.104 264.6)
XYZxyz(3.1188, 2.4904, 11.3804)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122860 #604A12
analogous
#124F60 #122860 #231260
triadic
#122860 #601228 #286012
tetradic
#122860 #60124F #604A12 #126023
square
#122860 #60124F #604A12 #126023
split-complementary
#122860 #602312 #4F6012
monochromatic
#050B1A #08132C #122860 #1C3D94 #2553C7

Accessibility & contrast

On white

14.02
#122860 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#122860 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122860
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122860#FFFFFF#000000##FFFFFF
##1228601.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F62
Deuteranopia (green-blind)
#00285F
Tritanopia (blue-blind)
#00363F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #122860;
/* rgb */ color: rgb(18, 40, 96);
/* oklch */ color: oklch(29.7% 0.104 264.6);
Tailwind
colors: {
  custom: {
    50: '#5d618e',
    500: '#122860',
    950: '#000000',
  },
}
SCSS
$custom: #122860;
$custom-light: #5d618e;
$custom-dark: #000000;
JSON
{
  "hex": "#122860",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 96
  },
  "hsl": {
    "h": 223.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.29708,
    "c": 0.10367,
    "h": 264.6
  },
  "luminance": 0.02491
}

Semantic roles & 50–950 ramp

primary
#122860
secondary
#987C36
accent
#BA3DEB
background
#F5F5F8
surface
#EAE9F0
border
#C6C5CB
text
#05050C
muted
#79797D

Preview Lab

Preview with #122860

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

Preview Lab → · Contrast checker → · Palette generator →

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