#123176#123176

#123176 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 33.7% C 0.124 H 263.1°. Best body text is #FFFFFF at 12.16:1 contrast (WCAG AA passes).

Color values

HEX#123176
RGBrgb(18, 49, 118)
HSLhsl(221, 74%, 27%)
HSVhsv(221, 85%, 46%)
CMYKcmyk(84.7%, 58.5%, 0%, 53.7%)
CIE-LABlab(22.42, 16.84, -42.70)
CIE-LCHlch(22.42, 45.90, 291.52°)
OKLaboklab(33.72% -0.0148 -0.1233)
OKLCHoklch(33.72% 0.124 263.1)
XYZxyz(4.6166, 3.6327, 17.5939)
Luminance0.0363 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123176 #765712
analogous
#126376 #123176 #251276
triadic
#123176 #761231 #317612
tetradic
#123176 #761263 #765712 #127625
square
#123176 #761263 #765712 #127625
split-complementary
#123176 #762512 #637612
monochromatic
#040B1B #0A1B41 #123176 #1A47AB #255EDE

Accessibility & contrast

On white

12.16
#123176 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#123176 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123176
12.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123176#FFFFFF#000000##FFFFFF
##1231761.0012.161.7312.16
#FFFFFF12.161.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A78
Deuteranopia (green-blind)
#003175
Tritanopia (blue-blind)
#00424E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123176;
/* rgb */ color: rgb(18, 49, 118);
/* oklch */ color: oklch(33.7% 0.124 263.1);
Tailwind
colors: {
  custom: {
    50: '#63689e',
    500: '#123176',
    950: '#000000',
  },
}
SCSS
$custom: #123176;
$custom-light: #63689e;
$custom-dark: #000000;
JSON
{
  "hex": "#123176",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 118
  },
  "hsl": {
    "h": 221.4,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33718,
    "c": 0.12419,
    "h": 263.1
  },
  "luminance": 0.03633
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #123176

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

Preview Lab → · Contrast checker → · Palette generator →

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