#122683#122683

#122683 is a dark, vivid blue. Relative luminance 0.032; OKLCH L 32.8% C 0.156 H 266.8°. Best body text is #FFFFFF at 12.88:1 contrast (WCAG AA passes).

Color values

HEX#122683
RGBrgb(18, 38, 131)
HSLhsl(229, 76%, 29%)
HSVhsv(229, 86%, 51%)
CMYKcmyk(86.3%, 71%, 0%, 48.6%)
CIE-LABlab(20.65, 29.86, -53.84)
CIE-LCHlch(20.65, 61.57, 299.01°)
OKLaboklab(32.78% -0.0087 -0.156)
OKLCHoklch(32.78% 0.156 266.8)
XYZxyz(5.0379, 3.1529, 21.8114)
Luminance0.0315 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122683 #836F12
analogous
#125F83 #122683 #371283
triadic
#122683 #831226 #268312
tetradic
#122683 #83125F #836F12 #128337
square
#122683 #83125F #836F12 #128337
split-complementary
#122683 #833712 #5F8312
monochromatic
#04081B #0B164D #122683 #1936B9 #2D4DE2

Accessibility & contrast

On white

12.88
#122683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#122683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122683
12.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122683#FFFFFF#000000##FFFFFF
##1226831.0012.881.6312.88
#FFFFFF12.881.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#004051
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #122683;
/* rgb */ color: rgb(18, 38, 131);
/* oklch */ color: oklch(32.8% 0.156 266.8);
Tailwind
colors: {
  custom: {
    50: '#6860a8',
    500: '#122683',
    950: '#000000',
  },
}
SCSS
$custom: #122683;
$custom-light: #6860a8;
$custom-dark: #000000;
JSON
{
  "hex": "#122683",
  "rgb": {
    "r": 18,
    "g": 38,
    "b": 131
  },
  "hsl": {
    "h": 229.381,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32781,
    "c": 0.15629,
    "h": 266.8
  },
  "luminance": 0.03154
}

Semantic roles & 50–950 ramp

primary
#122683
secondary
#B8A238
accent
#D135F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #122683

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

Preview Lab → · Contrast checker → · Palette generator →

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