#123376#123376

#123376 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.2% C 0.122 H 262.3°. Best body text is #FFFFFF at 11.93:1 contrast (WCAG AA passes).

Color values

HEX#123376
RGBrgb(18, 51, 118)
HSLhsl(220, 74%, 27%)
HSVhsv(220, 85%, 46%)
CMYKcmyk(84.7%, 56.8%, 0%, 53.7%)
CIE-LABlab(23.01, 15.40, -41.73)
CIE-LCHlch(23.01, 44.48, 290.25°)
OKLaboklab(34.17% -0.0163 -0.1204)
OKLCHoklch(34.17% 0.122 262.3)
XYZxyz(4.7021, 3.8037, 17.6224)
Luminance0.0380 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123376 #765512
analogous
#126576 #123376 #231276
triadic
#123376 #761233 #337612
tetradic
#123376 #761265 #765512 #127623
square
#123376 #761265 #765512 #127623
split-complementary
#123376 #762312 #657612
monochromatic
#040B1B #0A1C41 #123376 #1A4AAB #2562DE

Accessibility & contrast

On white

11.93
#123376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#123376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123376
11.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123376#FFFFFF#000000##FFFFFF
##1233761.0011.931.7611.93
#FFFFFF11.931.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003375
Tritanopia (blue-blind)
#00444F
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123376;
/* rgb */ color: rgb(18, 51, 118);
/* oklch */ color: oklch(34.2% 0.122 262.3);
Tailwind
colors: {
  custom: {
    50: '#636a9e',
    500: '#123376',
    950: '#000000',
  },
}
SCSS
$custom: #123376;
$custom-light: #636a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#123376",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 118
  },
  "hsl": {
    "h": 220.2,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.34167,
    "c": 0.12152,
    "h": 262.3
  },
  "luminance": 0.03804
}

Semantic roles & 50–950 ramp

primary
#123376
secondary
#AD8637
accent
#B338F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123376

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

Preview Lab → · Contrast checker → · Palette generator →

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