#123280#123280

#123280 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.8% C 0.137 H 263.8°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#123280
RGBrgb(18, 50, 128)
HSLhsl(223, 75%, 29%)
HSVhsv(223, 86%, 50%)
CMYKcmyk(85.9%, 60.9%, 0%, 49.8%)
CIE-LABlab(23.56, 20.30, -47.16)
CIE-LCHlch(23.56, 51.35, 293.29°)
OKLaboklab(34.85% -0.0149 -0.1364)
OKLCHoklch(34.85% 0.137 263.8)
XYZxyz(5.2849, 3.9677, 20.9052)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123280 #806012
analogous
#126980 #123280 #291280
triadic
#123280 #801232 #328012
tetradic
#123280 #801269 #806012 #128029
square
#123280 #801269 #806012 #128029
split-complementary
#123280 #802912 #698012
monochromatic
#040A1B #0A1D4A #123280 #1A47B6 #2B60E1

Accessibility & contrast

On white

11.71
#123280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123280
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123280#FFFFFF#000000##FFFFFF
##1232801.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00337F
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123280;
/* rgb */ color: rgb(18, 50, 128);
/* oklch */ color: oklch(34.8% 0.137 263.8);
Tailwind
colors: {
  custom: {
    50: '#6669a6',
    500: '#123280',
    950: '#000000',
  },
}
SCSS
$custom: #123280;
$custom-light: #6669a6;
$custom-dark: #000000;
JSON
{
  "hex": "#123280",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 128
  },
  "hsl": {
    "h": 222.545,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34848,
    "c": 0.13721,
    "h": 263.8
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#123280
secondary
#B69138
accent
#BB36F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123280

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

Preview Lab → · Contrast checker → · Palette generator →

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