#123474#123474

#123474 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.2% C 0.117 H 261.5°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#123474
RGBrgb(18, 52, 116)
HSLhsl(219, 73%, 26%)
HSVhsv(219, 84%, 45%)
CMYKcmyk(84.5%, 55.2%, 0%, 54.5%)
CIE-LABlab(23.15, 13.83, -40.23)
CIE-LCHlch(23.15, 42.54, 288.97°)
OKLaboklab(34.22% -0.0173 -0.116)
OKLCHoklch(34.22% 0.117 261.5)
XYZxyz(4.6287, 3.8450, 17.0178)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123474 #745212
analogous
#126574 #123474 #211274
triadic
#123474 #741234 #347412
tetradic
#123474 #741265 #745212 #127421
square
#123474 #741265 #745212 #127421
split-complementary
#123474 #742112 #657412
monochromatic
#040C1A #0A1C3F #123474 #1A4CA9 #2364DD

Accessibility & contrast

On white

11.87
#123474 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123474 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123474
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123474#FFFFFF#000000##FFFFFF
##1234741.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043C76
Deuteranopia (green-blind)
#003373
Tritanopia (blue-blind)
#00444E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123474;
/* rgb */ color: rgb(18, 52, 116);
/* oklch */ color: oklch(34.2% 0.117 261.5);
Tailwind
colors: {
  custom: {
    50: '#626a9d',
    500: '#123474',
    950: '#000000',
  },
}
SCSS
$custom: #123474;
$custom-light: #626a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123474",
  "rgb": {
    "r": 18,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 219.184,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.34223,
    "c": 0.11726,
    "h": 261.5
  },
  "luminance": 0.03846
}

Semantic roles & 50–950 ramp

primary
#123474
secondary
#AB8337
accent
#B038F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123474

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

Preview Lab → · Contrast checker → · Palette generator →

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