#123B81#123B81

#123B81 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 36.9% C 0.127 H 260.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#123B81
RGBrgb(18, 59, 129)
HSLhsl(218, 76%, 29%)
HSVhsv(218, 86%, 51%)
CMYKcmyk(86%, 54.3%, 0%, 49.4%)
CIE-LABlab(26.28, 14.33, -43.38)
CIE-LCHlch(26.28, 45.69, 288.28°)
OKLaboklab(36.92% -0.0209 -0.1251)
OKLCHoklch(36.92% 0.127 260.5)
XYZxyz(5.7744, 4.8408, 21.3946)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123B81 #815812
analogous
#127381 #123B81 #211281
triadic
#123B81 #81123B #3B8112
tetradic
#123B81 #811273 #815812 #128121
square
#123B81 #811273 #815812 #128121
split-complementary
#123B81 #812112 #738112
monochromatic
#040C1B #0B224B #123B81 #1954B7 #2C6FE2

Accessibility & contrast

On white

10.67
#123B81 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#123B81 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123B81
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123B81#FFFFFF#000000##FFFFFF
##123B811.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#074383
Deuteranopia (green-blind)
#003980
Tritanopia (blue-blind)
#004C58
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #123b81;
/* rgb */ color: rgb(18, 59, 129);
/* oklch */ color: oklch(36.9% 0.127 260.5);
Tailwind
colors: {
  custom: {
    50: '#6570a6',
    500: '#123b81',
    950: '#000000',
  },
}
SCSS
$custom: #123b81;
$custom-light: #6570a6;
$custom-dark: #000000;
JSON
{
  "hex": "#123b81",
  "rgb": {
    "r": 18,
    "g": 59,
    "b": 129
  },
  "hsl": {
    "h": 217.838,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.36924,
    "c": 0.12685,
    "h": 260.5
  },
  "luminance": 0.04842
}

Semantic roles & 50–950 ramp

primary
#123B81
secondary
#B78838
accent
#AD36F2
background
#F6F6FA
surface
#EBECF4
border
#C6C7CE
text
#07070F
muted
#7A7A7F

Preview Lab

Preview with #123B81

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

Preview Lab → · Contrast checker → · Palette generator →

#123B81 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva