#123583#123583

#123583 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.8% C 0.138 H 263.1°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#123583
RGBrgb(18, 53, 131)
HSLhsl(221, 76%, 29%)
HSVhsv(221, 86%, 51%)
CMYKcmyk(86.3%, 59.5%, 0%, 48.6%)
CIE-LABlab(24.68, 19.42, -47.23)
CIE-LCHlch(24.68, 51.07, 292.35°)
OKLaboklab(35.77% -0.0166 -0.1365)
OKLCHoklch(35.77% 0.138 263.1)
XYZxyz(5.6178, 4.3128, 22.0047)
Luminance0.0431 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123583 #836012
analogous
#126E83 #123583 #281283
triadic
#123583 #831235 #358312
tetradic
#123583 #83126E #836012 #128328
square
#123583 #83126E #836012 #128328
split-complementary
#123583 #832812 #6E8312
monochromatic
#040B1B #0B1F4D #123583 #194BB9 #2D65E2

Accessibility & contrast

On white

11.27
#123583 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#123583 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123583
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123583#FFFFFF#000000##FFFFFF
##1235831.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123583;
/* rgb */ color: rgb(18, 53, 131);
/* oklch */ color: oklch(35.8% 0.138 263.1);
Tailwind
colors: {
  custom: {
    50: '#666ba8',
    500: '#123583',
    950: '#000000',
  },
}
SCSS
$custom: #123583;
$custom-light: #666ba8;
$custom-dark: #000000;
JSON
{
  "hex": "#123583",
  "rgb": {
    "r": 18,
    "g": 53,
    "b": 131
  },
  "hsl": {
    "h": 221.416,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35766,
    "c": 0.13755,
    "h": 263.1
  },
  "luminance": 0.04313
}

Semantic roles & 50–950 ramp

primary
#123583
secondary
#B89138
accent
#B835F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #123583

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

Preview Lab → · Contrast checker → · Palette generator →

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