#123081#123081

#123081 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.5% C 0.141 H 264.5°. Best body text is #FFFFFF at 11.90:1 contrast (WCAG AA passes).

Color values

HEX#123081
RGBrgb(18, 48, 129)
HSLhsl(224, 76%, 29%)
HSVhsv(224, 86%, 51%)
CMYKcmyk(86%, 62.8%, 0%, 49.4%)
CIE-LABlab(23.09, 22.14, -48.57)
CIE-LCHlch(23.09, 53.38, 294.50°)
OKLaboklab(34.52% -0.0136 -0.1405)
OKLCHoklch(34.52% 0.141 264.5)
XYZxyz(5.2674, 3.8268, 21.2257)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123081 #816312
analogous
#126881 #123081 #2C1281
triadic
#123081 #811230 #308112
tetradic
#123081 #811268 #816312 #12812C
square
#123081 #811268 #816312 #12812C
split-complementary
#123081 #812C12 #688112
monochromatic
#040A1B #0B1C4B #123081 #1944B7 #2C5DE2

Accessibility & contrast

On white

11.90
#123081 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123081 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123081
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123081#FFFFFF#000000##FFFFFF
##1230811.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C84
Deuteranopia (green-blind)
#00327F
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123081;
/* rgb */ color: rgb(18, 48, 129);
/* oklch */ color: oklch(34.5% 0.141 264.5);
Tailwind
colors: {
  custom: {
    50: '#6667a6',
    500: '#123081',
    950: '#000000',
  },
}
SCSS
$custom: #123081;
$custom-light: #6667a6;
$custom-dark: #000000;
JSON
{
  "hex": "#123081",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 129
  },
  "hsl": {
    "h": 223.784,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.34521,
    "c": 0.14121,
    "h": 264.5
  },
  "luminance": 0.03827
}

Semantic roles & 50–950 ramp

primary
#123081
secondary
#B79438
accent
#BF36F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123081

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

Preview Lab → · Contrast checker → · Palette generator →

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