#123683#123683

#123683 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.0% C 0.136 H 262.7°. Best body text is #FFFFFF at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#123683
RGBrgb(18, 54, 131)
HSLhsl(221, 76%, 29%)
HSVhsv(221, 86%, 51%)
CMYKcmyk(86.3%, 58.8%, 0%, 48.6%)
CIE-LABlab(24.97, 18.71, -46.76)
CIE-LCHlch(24.97, 50.37, 291.81°)
OKLaboklab(35.98% -0.0173 -0.1351)
OKLCHoklch(35.98% 0.136 262.7)
XYZxyz(5.6639, 4.4049, 22.0200)
Luminance0.0441 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123683 #835F12
analogous
#126F83 #123683 #271283
triadic
#123683 #831236 #368312
tetradic
#123683 #83126F #835F12 #128327
square
#123683 #83126F #835F12 #128327
split-complementary
#123683 #832712 #6F8312
monochromatic
#040B1B #0B204D #123683 #194CB9 #2D67E2

Accessibility & contrast

On white

11.16
#123683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#123683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123683
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123683#FFFFFF#000000##FFFFFF
##1236831.0011.161.8811.16
#FFFFFF11.161.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003682
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123683;
/* rgb */ color: rgb(18, 54, 131);
/* oklch */ color: oklch(36.0% 0.136 262.7);
Tailwind
colors: {
  custom: {
    50: '#666ca8',
    500: '#123683',
    950: '#000000',
  },
}
SCSS
$custom: #123683;
$custom-light: #666ca8;
$custom-dark: #000000;
JSON
{
  "hex": "#123683",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 131
  },
  "hsl": {
    "h": 220.885,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.35983,
    "c": 0.13624,
    "h": 262.7
  },
  "luminance": 0.04406
}

Semantic roles & 50–950 ramp

primary
#123683
secondary
#B89038
accent
#B635F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #123683

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

Preview Lab → · Contrast checker → · Palette generator →

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