#123374#123374

#123374 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.0% C 0.119 H 262.0°. Best body text is #FFFFFF at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#123374
RGBrgb(18, 51, 116)
HSLhsl(220, 73%, 26%)
HSVhsv(220, 84%, 45%)
CMYKcmyk(84.5%, 56%, 0%, 54.5%)
CIE-LABlab(22.85, 14.55, -40.72)
CIE-LCHlch(22.85, 43.24, 289.66°)
OKLaboklab(33.99% -0.0165 -0.1174)
OKLCHoklch(33.99% 0.119 262)
XYZxyz(4.5845, 3.7567, 17.0031)
Luminance0.0376 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123374 #745312
analogous
#126474 #123374 #221274
triadic
#123374 #741233 #337412
tetradic
#123374 #741264 #745312 #127422
square
#123374 #741264 #745312 #127422
split-complementary
#123374 #742212 #647412
monochromatic
#040C1A #0A1C3F #123374 #1A4AA9 #2362DD

Accessibility & contrast

On white

11.99
#123374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#123374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123374
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123374#FFFFFF#000000##FFFFFF
##1233741.0011.991.7511.99
#FFFFFF11.991.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B76
Deuteranopia (green-blind)
#003273
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123374;
/* rgb */ color: rgb(18, 51, 116);
/* oklch */ color: oklch(34.0% 0.119 262.0);
Tailwind
colors: {
  custom: {
    50: '#626a9d',
    500: '#123374',
    950: '#000000',
  },
}
SCSS
$custom: #123374;
$custom-light: #626a9d;
$custom-dark: #000000;
JSON
{
  "hex": "#123374",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 116
  },
  "hsl": {
    "h": 219.796,
    "s": 73.134,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33994,
    "c": 0.11859,
    "h": 262
  },
  "luminance": 0.03757
}

Semantic roles & 50–950 ramp

primary
#123374
secondary
#AB8437
accent
#B238F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123374

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

Preview Lab → · Contrast checker → · Palette generator →

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