#123281#123281

#123281 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.139 H 263.9°. Best body text is #FFFFFF at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#123281
RGBrgb(18, 50, 129)
HSLhsl(223, 76%, 29%)
HSVhsv(223, 86%, 51%)
CMYKcmyk(86%, 61.2%, 0%, 49.4%)
CIE-LABlab(23.65, 20.72, -47.65)
CIE-LCHlch(23.65, 51.96, 293.50°)
OKLaboklab(34.94% -0.0148 -0.1378)
OKLCHoklch(34.94% 0.139 263.9)
XYZxyz(5.3511, 3.9941, 21.2535)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123281 #816112
analogous
#126A81 #123281 #2A1281
triadic
#123281 #811232 #328112
tetradic
#123281 #81126A #816112 #12812A
square
#123281 #81126A #816112 #12812A
split-complementary
#123281 #812A12 #6A8112
monochromatic
#040A1B #0B1D4B #123281 #1947B7 #2C60E2

Accessibility & contrast

On white

11.67
#123281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#123281 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123281
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123281#FFFFFF#000000##FFFFFF
##1232811.0011.671.8011.67
#FFFFFF11.671.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.671.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123281;
/* rgb */ color: rgb(18, 50, 129);
/* oklch */ color: oklch(34.9% 0.139 263.9);
Tailwind
colors: {
  custom: {
    50: '#6669a6',
    500: '#123281',
    950: '#000000',
  },
}
SCSS
$custom: #123281;
$custom-light: #6669a6;
$custom-dark: #000000;
JSON
{
  "hex": "#123281",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 222.703,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34941,
    "c": 0.13863,
    "h": 263.9
  },
  "luminance": 0.03995
}

Semantic roles & 50–950 ramp

primary
#123281
secondary
#B79238
accent
#BC36F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123281

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

Preview Lab → · Contrast checker → · Palette generator →

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