#123080#123080

#123080 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.4% C 0.140 H 264.4°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#123080
RGBrgb(18, 48, 128)
HSLhsl(224, 75%, 29%)
HSVhsv(224, 86%, 50%)
CMYKcmyk(85.9%, 62.5%, 0%, 49.8%)
CIE-LABlab(23.00, 21.72, -48.09)
CIE-LCHlch(23.00, 52.77, 294.31°)
OKLaboklab(34.43% -0.0137 -0.1391)
OKLCHoklch(34.43% 0.14 264.4)
XYZxyz(5.2013, 3.8004, 20.8773)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123080 #806212
analogous
#126780 #123080 #2B1280
triadic
#123080 #801230 #308012
tetradic
#123080 #801267 #806212 #12802B
square
#123080 #801267 #806212 #12802B
split-complementary
#123080 #802B12 #678012
monochromatic
#040A1B #0A1C4A #123080 #1A44B6 #2B5DE1

Accessibility & contrast

On white

11.93
#123080 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123080 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123080
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123080#FFFFFF#000000##FFFFFF
##1230801.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C83
Deuteranopia (green-blind)
#00327E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123080;
/* rgb */ color: rgb(18, 48, 128);
/* oklch */ color: oklch(34.4% 0.140 264.4);
Tailwind
colors: {
  custom: {
    50: '#6667a6',
    500: '#123080',
    950: '#000000',
  },
}
SCSS
$custom: #123080;
$custom-light: #6667a6;
$custom-dark: #000000;
JSON
{
  "hex": "#123080",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 128
  },
  "hsl": {
    "h": 223.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34426,
    "c": 0.1398,
    "h": 264.4
  },
  "luminance": 0.03801
}

Semantic roles & 50–950 ramp

primary
#123080
secondary
#B69338
accent
#BF36F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123080

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

Preview Lab → · Contrast checker → · Palette generator →

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