#123276#123276

#123276 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 33.9% C 0.123 H 262.7°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#123276
RGBrgb(18, 50, 118)
HSLhsl(221, 74%, 27%)
HSVhsv(221, 85%, 46%)
CMYKcmyk(84.7%, 57.6%, 0%, 53.7%)
CIE-LABlab(22.71, 16.12, -42.22)
CIE-LCHlch(22.71, 45.19, 290.90°)
OKLaboklab(33.94% -0.0156 -0.1219)
OKLCHoklch(33.94% 0.123 262.7)
XYZxyz(4.6589, 3.7172, 17.6080)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123276 #765612
analogous
#126476 #123276 #241276
triadic
#123276 #761232 #327612
tetradic
#123276 #761264 #765612 #127624
square
#123276 #761264 #765612 #127624
split-complementary
#123276 #762412 #647612
monochromatic
#040B1B #0A1C41 #123276 #1A49AB #2560DE

Accessibility & contrast

On white

12.04
#123276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#123276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123276
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123276#FFFFFF#000000##FFFFFF
##1232761.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003275
Tritanopia (blue-blind)
#00434E
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123276;
/* rgb */ color: rgb(18, 50, 118);
/* oklch */ color: oklch(33.9% 0.123 262.7);
Tailwind
colors: {
  custom: {
    50: '#63699e',
    500: '#123276',
    950: '#000000',
  },
}
SCSS
$custom: #123276;
$custom-light: #63699e;
$custom-dark: #000000;
JSON
{
  "hex": "#123276",
  "rgb": {
    "r": 18,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 220.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.33942,
    "c": 0.12285,
    "h": 262.7
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#123276
secondary
#AD8737
accent
#B538F0
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123276

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

Preview Lab → · Contrast checker → · Palette generator →

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