#123880#123880

#123880 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.129 H 261.6°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#123880
RGBrgb(18, 56, 128)
HSLhsl(219, 75%, 29%)
HSVhsv(219, 86%, 50%)
CMYKcmyk(85.9%, 56.3%, 0%, 49.8%)
CIE-LABlab(25.31, 16.04, -44.33)
CIE-LCHlch(25.31, 47.14, 289.89°)
OKLaboklab(36.16% -0.0189 -0.128)
OKLCHoklch(36.16% 0.129 261.6)
XYZxyz(5.5585, 4.5148, 20.9964)
Luminance0.0452 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123880 #805A12
analogous
#126F80 #123880 #231280
triadic
#123880 #801238 #388012
tetradic
#123880 #80126F #805A12 #128023
square
#123880 #80126F #805A12 #128023
split-complementary
#123880 #802312 #6F8012
monochromatic
#040C1B #0A214A #123880 #1A4FB6 #2B6AE1

Accessibility & contrast

On white

11.04
#123880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#123880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123880
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123880#FFFFFF#000000##FFFFFF
##1238801.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004A56
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123880;
/* rgb */ color: rgb(18, 56, 128);
/* oklch */ color: oklch(36.2% 0.129 261.6);
Tailwind
colors: {
  custom: {
    50: '#656ea5',
    500: '#123880',
    950: '#000000',
  },
}
SCSS
$custom: #123880;
$custom-light: #656ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#123880",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 128
  },
  "hsl": {
    "h": 219.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36161,
    "c": 0.12935,
    "h": 261.6
  },
  "luminance": 0.04515
}

Semantic roles & 50–950 ramp

primary
#123880
secondary
#B68A38
accent
#B136F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #123880

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

Preview Lab → · Contrast checker → · Palette generator →

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