#123974#123974

#123974 is a dark, moderate blue. Relative luminance 0.043; OKLCH L 35.4% C 0.111 H 258.9°. Best body text is #FFFFFF at 11.27:1 contrast (WCAG AA passes).

Color values

HEX#123974
RGBrgb(18, 57, 116)
HSLhsl(216, 73%, 26%)
HSVhsv(216, 84%, 45%)
CMYKcmyk(84.5%, 50.9%, 0%, 54.5%)
CIE-LABlab(24.69, 10.25, -37.75)
CIE-LCHlch(24.69, 39.11, 285.20°)
OKLaboklab(35.4% -0.0213 -0.1086)
OKLCHoklch(35.4% 0.111 258.9)
XYZxyz(4.8638, 4.3152, 17.0962)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123974 #744D12
analogous
#126A74 #123974 #1C1274
triadic
#123974 #741239 #397412
tetradic
#123974 #74126A #744D12 #12741C
square
#123974 #74126A #744D12 #12741C
split-complementary
#123974 #741C12 #6A7412
monochromatic
#040D1A #0A1F3F #123974 #1A53A9 #236DDD

Accessibility & contrast

On white

11.27
#123974 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123974
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123974#FFFFFF#000000##FFFFFF
##1239741.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#163F76
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#004751
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #123974;
/* rgb */ color: rgb(18, 57, 116);
/* oklch */ color: oklch(35.4% 0.111 258.9);
Tailwind
colors: {
  custom: {
    50: '#626e9c',
    500: '#123974',
    950: '#000000',
  },
}
SCSS
$custom: #123974;
$custom-light: #626e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#123974",
  "rgb": {
    "r": 18,
    "g": 57,
    "b": 116
  },
  "hsl": {
    "h": 216.122,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.35397,
    "c": 0.11063,
    "h": 258.9
  },
  "luminance": 0.04316
}

Semantic roles & 50–950 ramp

primary
#123974
secondary
#AB7D37
accent
#A738F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06070E
muted
#7A7A7E

Preview Lab

Preview with #123974

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

Preview Lab → · Contrast checker → · Palette generator →

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