#123071#123071

#123071 is a dark, moderate blue. Relative luminance 0.034; OKLCH L 33.0% C 0.118 H 262.9°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#123071
RGBrgb(18, 48, 113)
HSLhsl(221, 73%, 26%)
HSVhsv(221, 84%, 44%)
CMYKcmyk(84.1%, 57.5%, 0%, 55.7%)
CIE-LABlab(21.71, 15.45, -40.66)
CIE-LCHlch(21.71, 43.49, 290.80°)
OKLaboklab(33.05% -0.0145 -0.1173)
OKLCHoklch(33.05% 0.118 262.9)
XYZxyz(4.2860, 3.4342, 16.0566)
Luminance0.0343 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123071 #715312
analogous
#125F71 #123071 #241271
triadic
#123071 #711230 #307112
tetradic
#123071 #71125F #715312 #127124
square
#123071 #71125F #715312 #127124
split-complementary
#123071 #712412 #5F7112
monochromatic
#040B1A #0A1A3C #123071 #1A46A6 #235DDB

Accessibility & contrast

On white

12.45
#123071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#123071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123071
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123071#FFFFFF#000000##FFFFFF
##1230711.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003973
Deuteranopia (green-blind)
#003070
Tritanopia (blue-blind)
#00404B
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123071;
/* rgb */ color: rgb(18, 48, 113);
/* oklch */ color: oklch(33.0% 0.118 262.9);
Tailwind
colors: {
  custom: {
    50: '#62679a',
    500: '#123071',
    950: '#000000',
  },
}
SCSS
$custom: #123071;
$custom-light: #62679a;
$custom-dark: #000000;
JSON
{
  "hex": "#123071",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 113
  },
  "hsl": {
    "h": 221.053,
    "s": 72.519,
    "l": 25.686
  },
  "oklch": {
    "l": 0.33049,
    "c": 0.11822,
    "h": 262.9
  },
  "luminance": 0.03435
}

Semantic roles & 50–950 ramp

primary
#123071
secondary
#A88437
accent
#B639EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123071

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

Preview Lab → · Contrast checker → · Palette generator →

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