#123980#123980

#123980 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.128 H 261.2°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#123980
RGBrgb(18, 57, 128)
HSLhsl(219, 75%, 29%)
HSVhsv(219, 86%, 50%)
CMYKcmyk(85.9%, 55.5%, 0%, 49.8%)
CIE-LABlab(25.60, 15.33, -43.85)
CIE-LCHlch(25.60, 46.45, 289.27°)
OKLaboklab(36.39% -0.0196 -0.1265)
OKLCHoklch(36.39% 0.128 261.2)
XYZxyz(5.6075, 4.6127, 21.0127)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123980 #805912
analogous
#127080 #123980 #221280
triadic
#123980 #801239 #398012
tetradic
#123980 #801270 #805912 #128022
square
#123980 #801270 #805912 #128022
split-complementary
#123980 #802212 #708012
monochromatic
#040C1B #0A214A #123980 #1A51B6 #2B6CE1

Accessibility & contrast

On white

10.92
#123980 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123980
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123980#FFFFFF#000000##FFFFFF
##1239801.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004283
Deuteranopia (green-blind)
#00387F
Tritanopia (blue-blind)
#004B56
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123980;
/* rgb */ color: rgb(18, 57, 128);
/* oklch */ color: oklch(36.4% 0.128 261.2);
Tailwind
colors: {
  custom: {
    50: '#656ea5',
    500: '#123980',
    950: '#000000',
  },
}
SCSS
$custom: #123980;
$custom-light: #656ea5;
$custom-dark: #000000;
JSON
{
  "hex": "#123980",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 128
  },
  "hsl": {
    "h": 218.727,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.36386,
    "c": 0.12803,
    "h": 261.2
  },
  "luminance": 0.04613
}

Semantic roles & 50–950 ramp

primary
#123980
secondary
#B68938
accent
#AF36F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #123980

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

Preview Lab → · Contrast checker → · Palette generator →

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