#123373#123373

#123373 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.117 H 261.9°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#123373
RGBrgb(18, 51, 115)
HSLhsl(220, 73%, 26%)
HSVhsv(220, 84%, 45%)
CMYKcmyk(84.3%, 55.7%, 0%, 54.9%)
CIE-LABlab(22.77, 14.13, -40.21)
CIE-LCHlch(22.77, 42.62, 289.36°)
OKLaboklab(33.91% -0.0166 -0.1159)
OKLCHoklch(33.91% 0.117 261.9)
XYZxyz(4.5267, 3.7335, 16.6984)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123373 #735212
analogous
#126373 #123373 #221273
triadic
#123373 #731233 #337312
tetradic
#123373 #731263 #735212 #127322
square
#123373 #731263 #735212 #127322
split-complementary
#123373 #732212 #637312
monochromatic
#040C1A #0A1C3E #123373 #1A4AA8 #2362DD

Accessibility & contrast

On white

12.02
#123373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123373
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123373#FFFFFF#000000##FFFFFF
##1233731.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#023B75
Deuteranopia (green-blind)
#003272
Tritanopia (blue-blind)
#00434D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123373;
/* rgb */ color: rgb(18, 51, 115);
/* oklch */ color: oklch(33.9% 0.117 261.9);
Tailwind
colors: {
  custom: {
    50: '#626a9c',
    500: '#123373',
    950: '#000000',
  },
}
SCSS
$custom: #123373;
$custom-light: #626a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#123373",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 115
  },
  "hsl": {
    "h": 219.588,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33908,
    "c": 0.11712,
    "h": 261.9
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#123373
secondary
#AA8337
accent
#B138F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123373

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

Preview Lab → · Contrast checker → · Palette generator →

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