#123780#123780

#123780 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.9% C 0.131 H 262.0°. Best body text is #FFFFFF at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#123780
RGBrgb(18, 55, 128)
HSLhsl(220, 75%, 29%)
HSVhsv(220, 86%, 50%)
CMYKcmyk(85.9%, 57%, 0%, 49.8%)
CIE-LABlab(25.01, 16.75, -44.81)
CIE-LCHlch(25.01, 47.84, 290.49°)
OKLaboklab(35.94% -0.0182 -0.1294)
OKLCHoklch(35.94% 0.131 262)
XYZxyz(5.5105, 4.4188, 20.9804)
Luminance0.0442 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123780 #805B12
analogous
#126E80 #123780 #241280
triadic
#123780 #801237 #378012
tetradic
#123780 #80126E #805B12 #128024
square
#123780 #80126E #805B12 #128024
split-complementary
#123780 #802412 #6E8012
monochromatic
#040C1B #0A204A #123780 #1A4EB6 #2B68E1

Accessibility & contrast

On white

11.15
#123780 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123780
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123780#FFFFFF#000000##FFFFFF
##1237801.0011.151.8811.15
#FFFFFF11.151.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004183
Deuteranopia (green-blind)
#00377F
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123780;
/* rgb */ color: rgb(18, 55, 128);
/* oklch */ color: oklch(35.9% 0.131 262.0);
Tailwind
colors: {
  custom: {
    50: '#656da5',
    500: '#123780',
    950: '#000000',
  },
}
SCSS
$custom: #123780;
$custom-light: #656da5;
$custom-dark: #000000;
JSON
{
  "hex": "#123780",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 128
  },
  "hsl": {
    "h": 219.818,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35937,
    "c": 0.13066,
    "h": 262
  },
  "luminance": 0.04419
}

Semantic roles & 50–950 ramp

primary
#123780
secondary
#B68B38
accent
#B336F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #123780

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

Preview Lab → · Contrast checker → · Palette generator →

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