#123481#123481

#123481 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.4% C 0.136 H 263.2°. Best body text is #FFFFFF at 11.45:1 contrast (WCAG AA passes).

Color values

HEX#123481
RGBrgb(18, 52, 129)
HSLhsl(222, 76%, 29%)
HSVhsv(222, 86%, 51%)
CMYKcmyk(86%, 59.7%, 0%, 49.4%)
CIE-LABlab(24.22, 19.30, -46.72)
CIE-LCHlch(24.22, 50.55, 292.44°)
OKLaboklab(35.37% -0.0161 -0.1351)
OKLCHoklch(35.37% 0.136 263.2)
XYZxyz(5.4385, 4.1689, 21.2827)
Luminance0.0417 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123481 #815F12
analogous
#126C81 #123481 #281281
triadic
#123481 #811234 #348112
tetradic
#123481 #81126C #815F12 #128128
square
#123481 #81126C #815F12 #128128
split-complementary
#123481 #812812 #6C8112
monochromatic
#040B1B #0B1E4B #123481 #194AB7 #2C64E2

Accessibility & contrast

On white

11.45
#123481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123481
11.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123481#FFFFFF#000000##FFFFFF
##1234811.0011.451.8311.45
#FFFFFF11.451.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F84
Deuteranopia (green-blind)
#003580
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123481;
/* rgb */ color: rgb(18, 52, 129);
/* oklch */ color: oklch(35.4% 0.136 263.2);
Tailwind
colors: {
  custom: {
    50: '#666aa6',
    500: '#123481',
    950: '#000000',
  },
}
SCSS
$custom: #123481;
$custom-light: #666aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#123481",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 221.622,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35369,
    "c": 0.13602,
    "h": 263.2
  },
  "luminance": 0.0417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #123481

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

Preview Lab → · Contrast checker → · Palette generator →

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