#123A73#123A73

#123A73 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.6% C 0.108 H 258.1°. Best body text is #FFFFFF at 11.18:1 contrast (WCAG AA passes).

Color values

HEX#123A73
RGBrgb(18, 58, 115)
HSLhsl(215, 73%, 26%)
HSVhsv(215, 84%, 45%)
CMYKcmyk(84.3%, 49.6%, 0%, 54.9%)
CIE-LABlab(24.93, 9.12, -36.72)
CIE-LCHlch(24.93, 37.84, 283.95°)
OKLaboklab(35.56% -0.0223 -0.1055)
OKLCHoklch(35.56% 0.108 258.1)
XYZxyz(4.8559, 4.3919, 16.8081)
Luminance0.0439 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123A73 #734B12
analogous
#126A73 #123A73 #1B1273
triadic
#123A73 #73123A #3A7312
tetradic
#123A73 #73126A #734B12 #12731B
square
#123A73 #73126A #734B12 #12731B
split-complementary
#123A73 #731B12 #6A7312
monochromatic
#040D1A #0A1F3E #123A73 #1A55A8 #236FDD

Accessibility & contrast

On white

11.18
#123A73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#123A73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123A73
11.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123A73#FFFFFF#000000##FFFFFF
##123A731.0011.181.8811.18
#FFFFFF11.181.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A4075
Deuteranopia (green-blind)
#003772
Tritanopia (blue-blind)
#004851
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123a73;
/* rgb */ color: rgb(18, 58, 115);
/* oklch */ color: oklch(35.6% 0.108 258.1);
Tailwind
colors: {
  custom: {
    50: '#626f9c',
    500: '#123a73',
    950: '#000000',
  },
}
SCSS
$custom: #123a73;
$custom-light: #626f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#123a73",
  "rgb": {
    "r": 18,
    "g": 58,
    "b": 115
  },
  "hsl": {
    "h": 215.258,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.35558,
    "c": 0.10785,
    "h": 258.1
  },
  "luminance": 0.04393
}

Semantic roles & 50–950 ramp

primary
#123A73
secondary
#AA7A37
accent
#A438F0
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123A73

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

Preview Lab → · Contrast checker → · Palette generator →

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