#123884#123884

#123884 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.5% C 0.135 H 262.1°. Best body text is #FFFFFF at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#123884
RGBrgb(18, 56, 132)
HSLhsl(220, 76%, 29%)
HSVhsv(220, 86%, 52%)
CMYKcmyk(86.4%, 57.6%, 0%, 48.2%)
CIE-LABlab(25.63, 17.71, -46.31)
CIE-LCHlch(25.63, 49.58, 290.93°)
OKLaboklab(36.51% -0.0185 -0.1338)
OKLCHoklch(36.51% 0.135 262.1)
XYZxyz(5.8270, 4.6222, 22.4104)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123884 #845E12
analogous
#127184 #123884 #251284
triadic
#123884 #841238 #388412
tetradic
#123884 #841271 #845E12 #128425
square
#123884 #841271 #845E12 #128425
split-complementary
#123884 #842512 #718412
monochromatic
#040B1B #0B214E #123884 #194FBA #2E6AE2

Accessibility & contrast

On white

10.91
#123884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#123884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123884
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123884#FFFFFF#000000##FFFFFF
##1238841.0010.911.9210.91
#FFFFFF10.911.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004287
Deuteranopia (green-blind)
#003883
Tritanopia (blue-blind)
#004B58
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123884;
/* rgb */ color: rgb(18, 56, 132);
/* oklch */ color: oklch(36.5% 0.135 262.1);
Tailwind
colors: {
  custom: {
    50: '#666ea8',
    500: '#123884',
    950: '#000000',
  },
}
SCSS
$custom: #123884;
$custom-light: #666ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#123884",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 132
  },
  "hsl": {
    "h": 220,
    "s": 76,
    "l": 29.412
  },
  "oklch": {
    "l": 0.36509,
    "c": 0.13504,
    "h": 262.1
  },
  "luminance": 0.04623
}

Semantic roles & 50–950 ramp

primary
#123884
secondary
#B98E39
accent
#B335F3
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #123884

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

Preview Lab → · Contrast checker → · Palette generator →

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