#122583#122583

#122583 is a dark, vivid blue. Relative luminance 0.031; OKLCH L 32.6% C 0.157 H 267.0°. Best body text is #FFFFFF at 12.98:1 contrast (WCAG AA passes).

Color values

HEX#122583
RGBrgb(18, 37, 131)
HSLhsl(230, 76%, 29%)
HSVhsv(230, 86%, 51%)
CMYKcmyk(86.3%, 71.8%, 0%, 48.6%)
CIE-LABlab(20.40, 30.53, -54.25)
CIE-LCHlch(20.40, 62.25, 299.37°)
OKLaboklab(32.6% -0.0083 -0.1572)
OKLCHoklch(32.6% 0.157 267)
XYZxyz(5.0063, 3.0898, 21.8009)
Luminance0.0309 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122583 #837012
analogous
#125E83 #122583 #381283
triadic
#122583 #831225 #258312
tetradic
#122583 #83125E #837012 #128338
square
#122583 #83125E #837012 #128338
split-complementary
#122583 #833812 #5E8312
monochromatic
#04081B #0B164D #122583 #1934B9 #2D4CE2

Accessibility & contrast

On white

12.98
#122583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#122583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122583
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122583#FFFFFF#000000##FFFFFF
##1225831.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003786
Deuteranopia (green-blind)
#002C81
Tritanopia (blue-blind)
#003F51
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #122583;
/* rgb */ color: rgb(18, 37, 131);
/* oklch */ color: oklch(32.6% 0.157 267.0);
Tailwind
colors: {
  custom: {
    50: '#685fa8',
    500: '#122583',
    950: '#000000',
  },
}
SCSS
$custom: #122583;
$custom-light: #685fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#122583",
  "rgb": {
    "r": 18,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 229.912,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32602,
    "c": 0.15745,
    "h": 267
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#122583
secondary
#B8A338
accent
#D335F2
background
#F6F5FA
surface
#ECE9F4
border
#C7C5CE
text
#070410
muted
#7A797F

Preview Lab

Preview with #122583

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

Preview Lab → · Contrast checker → · Palette generator →

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