#123973#123973

#123973 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.3% C 0.109 H 258.7°. Best body text is #FFFFFF at 11.30:1 contrast (WCAG AA passes).

Color values

HEX#123973
RGBrgb(18, 57, 115)
HSLhsl(216, 73%, 26%)
HSVhsv(216, 84%, 45%)
CMYKcmyk(84.3%, 50.4%, 0%, 54.9%)
CIE-LABlab(24.61, 9.83, -37.23)
CIE-LCHlch(24.61, 38.50, 284.79°)
OKLaboklab(35.32% -0.0214 -0.107)
OKLCHoklch(35.32% 0.109 258.7)
XYZxyz(4.8060, 4.2921, 16.7915)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123973 #734C12
analogous
#126973 #123973 #1B1273
triadic
#123973 #731239 #397312
tetradic
#123973 #731269 #734C12 #12731B
square
#123973 #731269 #734C12 #12731B
split-complementary
#123973 #731B12 #697312
monochromatic
#040D1A #0A1F3E #123973 #1A53A8 #236EDD

Accessibility & contrast

On white

11.30
#123973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#123973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123973
11.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123973#FFFFFF#000000##FFFFFF
##1239731.0011.301.8611.30
#FFFFFF11.301.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#183F75
Deuteranopia (green-blind)
#003672
Tritanopia (blue-blind)
#004750
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #123973;
/* rgb */ color: rgb(18, 57, 115);
/* oklch */ color: oklch(35.3% 0.109 258.7);
Tailwind
colors: {
  custom: {
    50: '#626e9c',
    500: '#123973',
    950: '#000000',
  },
}
SCSS
$custom: #123973;
$custom-light: #626e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#123973",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 115
  },
  "hsl": {
    "h": 215.876,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35318,
    "c": 0.10916,
    "h": 258.7
  },
  "luminance": 0.04293
}

Semantic roles & 50–950 ramp

primary
#123973
secondary
#AA7C37
accent
#A638F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123973

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

Preview Lab → · Contrast checker → · Palette generator →

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