#123C80#123C80

#123C80 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.1% C 0.124 H 259.9°. Best body text is #FFFFFF at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#123C80
RGBrgb(18, 60, 128)
HSLhsl(217, 75%, 29%)
HSVhsv(217, 86%, 50%)
CMYKcmyk(85.9%, 53.1%, 0%, 49.8%)
CIE-LABlab(26.50, 13.21, -42.39)
CIE-LCHlch(26.50, 44.40, 287.30°)
OKLaboklab(37.07% -0.0218 -0.1222)
OKLCHoklch(37.07% 0.124 259.9)
XYZxyz(5.7602, 4.9181, 21.0636)
Luminance0.0492 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123C80 #805612
analogous
#127380 #123C80 #1F1280
triadic
#123C80 #80123C #3C8012
tetradic
#123C80 #801273 #805612 #12801F
square
#123C80 #801273 #805612 #12801F
split-complementary
#123C80 #801F12 #738012
monochromatic
#040D1B #0A234A #123C80 #1A55B6 #2B71E1

Accessibility & contrast

On white

10.59
#123C80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#123C80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123C80
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123C80#FFFFFF#000000##FFFFFF
##123C801.0010.591.9810.59
#FFFFFF10.591.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E4482
Deuteranopia (green-blind)
#003A7F
Tritanopia (blue-blind)
#004D58
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #123c80;
/* rgb */ color: rgb(18, 60, 128);
/* oklch */ color: oklch(37.1% 0.124 259.9);
Tailwind
colors: {
  custom: {
    50: '#6571a5',
    500: '#123c80',
    950: '#000000',
  },
}
SCSS
$custom: #123c80;
$custom-light: #6571a5;
$custom-dark: #000000;
JSON
{
  "hex": "#123c80",
  "rgb": {
    "r": 18,
    "g": 60,
    "b": 128
  },
  "hsl": {
    "h": 217.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.37071,
    "c": 0.12411,
    "h": 259.9
  },
  "luminance": 0.04919
}

Semantic roles & 50–950 ramp

primary
#123C80
secondary
#B68638
accent
#AA36F2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #123C80

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

Preview Lab → · Contrast checker → · Palette generator →

#123C80 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva