#123073#123073

#123073 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 33.2% C 0.121 H 263.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#123073
RGBrgb(18, 48, 115)
HSLhsl(221, 73%, 26%)
HSVhsv(221, 84%, 45%)
CMYKcmyk(84.3%, 58.3%, 0%, 54.9%)
CIE-LABlab(21.87, 16.29, -41.67)
CIE-LCHlch(21.87, 44.74, 291.35°)
OKLaboklab(33.23% -0.0144 -0.1203)
OKLCHoklch(33.23% 0.121 263.2)
XYZxyz(4.3998, 3.4798, 16.6561)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123073 #735512
analogous
#126073 #123073 #241273
triadic
#123073 #731230 #307312
tetradic
#123073 #731260 #735512 #127324
square
#123073 #731260 #735512 #127324
split-complementary
#123073 #732412 #607312
monochromatic
#040B1A #0A1A3E #123073 #1A46A8 #235CDD

Accessibility & contrast

On white

12.38
#123073 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#123073 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123073
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123073#FFFFFF#000000##FFFFFF
##1230731.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003975
Deuteranopia (green-blind)
#003072
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #123073;
/* rgb */ color: rgb(18, 48, 115);
/* oklch */ color: oklch(33.2% 0.121 263.2);
Tailwind
colors: {
  custom: {
    50: '#62679c',
    500: '#123073',
    950: '#000000',
  },
}
SCSS
$custom: #123073;
$custom-light: #62679c;
$custom-dark: #000000;
JSON
{
  "hex": "#123073",
  "rgb": {
    "r": 18,
    "g": 48,
    "b": 115
  },
  "hsl": {
    "h": 221.443,
    "s": 72.932,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33226,
    "c": 0.12114,
    "h": 263.2
  },
  "luminance": 0.0348
}

Semantic roles & 50–950 ramp

primary
#123073
secondary
#AA8637
accent
#B738F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123073

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

Preview Lab → · Contrast checker → · Palette generator →

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