#122376#122376

#122376 is a dark, vivid blue. Relative luminance 0.026; OKLCH L 30.8% C 0.142 H 267.4°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#122376
RGBrgb(18, 35, 118)
HSLhsl(230, 74%, 27%)
HSVhsv(230, 85%, 46%)
CMYKcmyk(84.7%, 70.3%, 0%, 53.7%)
CIE-LABlab(18.53, 26.78, -49.05)
CIE-LCHlch(18.53, 55.89, 298.64°)
OKLaboklab(30.83% -0.0064 -0.1421)
OKLCHoklch(30.83% 0.142 267.4)
XYZxyz(4.1194, 2.6382, 17.4281)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122376 #766512
analogous
#125576 #122376 #331276
triadic
#122376 #761223 #237612
tetradic
#122376 #761255 #766512 #127633
square
#122376 #761255 #766512 #127633
split-complementary
#122376 #763312 #557612
monochromatic
#04081B #0A1341 #122376 #1A33AB #2544DE

Accessibility & contrast

On white

13.75
#122376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#122376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122376
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122376#FFFFFF#000000##FFFFFF
##1223761.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003279
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#003A49
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #122376;
/* rgb */ color: rgb(18, 35, 118);
/* oklch */ color: oklch(30.8% 0.142 267.4);
Tailwind
colors: {
  custom: {
    50: '#645e9e',
    500: '#122376',
    950: '#000000',
  },
}
SCSS
$custom: #122376;
$custom-light: #645e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#122376",
  "rgb": {
    "r": 18,
    "g": 35,
    "b": 118
  },
  "hsl": {
    "h": 229.8,
    "s": 73.529,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30833,
    "c": 0.14224,
    "h": 267.4
  },
  "luminance": 0.02639
}

Semantic roles & 50–950 ramp

primary
#122376
secondary
#AD9937
accent
#D138F0
background
#F6F5F9
surface
#EBE9F2
border
#C6C5CC
text
#06040E
muted
#7A797E

Preview Lab

Preview with #122376

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

Preview Lab → · Contrast checker → · Palette generator →

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