#123681#123681

#123681 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 35.8% C 0.133 H 262.5°. Best body text is #FFFFFF at 11.23:1 contrast (WCAG AA passes).

Color values

HEX#123681
RGBrgb(18, 54, 129)
HSLhsl(221, 76%, 29%)
HSVhsv(221, 86%, 51%)
CMYKcmyk(86%, 58.1%, 0%, 49.4%)
CIE-LABlab(24.80, 17.88, -45.78)
CIE-LCHlch(24.80, 49.15, 291.33°)
OKLaboklab(35.8% -0.0174 -0.1323)
OKLCHoklch(35.8% 0.133 262.5)
XYZxyz(5.5296, 4.3512, 21.3131)
Luminance0.0435 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123681 #815D12
analogous
#126E81 #123681 #261281
triadic
#123681 #811236 #368112
tetradic
#123681 #81126E #815D12 #128126
square
#123681 #81126E #815D12 #128126
split-complementary
#123681 #812612 #6E8112
monochromatic
#040B1B #0B204B #123681 #194CB7 #2C67E2

Accessibility & contrast

On white

11.23
#123681 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#123681 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123681
11.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123681#FFFFFF#000000##FFFFFF
##1236811.0011.231.8711.23
#FFFFFF11.231.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004956
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123681;
/* rgb */ color: rgb(18, 54, 129);
/* oklch */ color: oklch(35.8% 0.133 262.5);
Tailwind
colors: {
  custom: {
    50: '#666ca6',
    500: '#123681',
    950: '#000000',
  },
}
SCSS
$custom: #123681;
$custom-light: #666ca6;
$custom-dark: #000000;
JSON
{
  "hex": "#123681",
  "rgb": {
    "r": 18,
    "g": 54,
    "b": 129
  },
  "hsl": {
    "h": 220.541,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.35804,
    "c": 0.1334,
    "h": 262.5
  },
  "luminance": 0.04352
}

Semantic roles & 50–950 ramp

primary
#123681
secondary
#B78E38
accent
#B536F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123681

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

Preview Lab → · Contrast checker → · Palette generator →

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