#123480#123480

#123480 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.3% C 0.135 H 263.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#123480
RGBrgb(18, 52, 128)
HSLhsl(221, 75%, 29%)
HSVhsv(221, 86%, 50%)
CMYKcmyk(85.9%, 59.4%, 0%, 49.8%)
CIE-LABlab(24.14, 18.88, -46.23)
CIE-LCHlch(24.14, 49.94, 292.22°)
OKLaboklab(35.28% -0.0162 -0.1336)
OKLCHoklch(35.28% 0.135 263.1)
XYZxyz(5.3723, 4.1424, 20.9343)
Luminance0.0414 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123480 #805E12
analogous
#126B80 #123480 #271280
triadic
#123480 #801234 #348012
tetradic
#123480 #80126B #805E12 #128027
square
#123480 #80126B #805E12 #128027
split-complementary
#123480 #802712 #6B8012
monochromatic
#040B1B #0A1E4A #123480 #1A4AB6 #2B63E1

Accessibility & contrast

On white

11.48
#123480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#123480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123480
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123480#FFFFFF#000000##FFFFFF
##1234801.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00357F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123480;
/* rgb */ color: rgb(18, 52, 128);
/* oklch */ color: oklch(35.3% 0.135 263.1);
Tailwind
colors: {
  custom: {
    50: '#666aa6',
    500: '#123480',
    950: '#000000',
  },
}
SCSS
$custom: #123480;
$custom-light: #666aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#123480",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 128
  },
  "hsl": {
    "h": 221.455,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35278,
    "c": 0.13459,
    "h": 263.1
  },
  "luminance": 0.04143
}

Semantic roles & 50–950 ramp

primary
#123480
secondary
#B68F38
accent
#B836F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123480

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

Preview Lab → · Contrast checker → · Palette generator →

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