#123372#123372

#123372 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.8% C 0.116 H 261.7°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#123372
RGBrgb(18, 51, 114)
HSLhsl(219, 73%, 26%)
HSVhsv(219, 84%, 45%)
CMYKcmyk(84.2%, 55.3%, 0%, 55.3%)
CIE-LABlab(22.69, 13.70, -39.70)
CIE-LCHlch(22.69, 42.00, 289.04°)
OKLaboklab(33.82% -0.0167 -0.1144)
OKLCHoklch(33.82% 0.116 261.7)
XYZxyz(4.4694, 3.7106, 16.3970)
Luminance0.0371 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123372 #725112
analogous
#126372 #123372 #211272
triadic
#123372 #721233 #337212
tetradic
#123372 #721263 #725112 #127221
square
#123372 #721263 #725112 #127221
split-complementary
#123372 #722112 #637212
monochromatic
#040C1A #0A1B3D #123372 #1A4BA7 #2362DC

Accessibility & contrast

On white

12.05
#123372 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #123372
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123372#FFFFFF#000000##FFFFFF
##1233721.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#043B74
Deuteranopia (green-blind)
#003271
Tritanopia (blue-blind)
#00424D
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #123372;
/* rgb */ color: rgb(18, 51, 114);
/* oklch */ color: oklch(33.8% 0.116 261.7);
Tailwind
colors: {
  custom: {
    50: '#626a9b',
    500: '#123372',
    950: '#000000',
  },
}
SCSS
$custom: #123372;
$custom-light: #626a9b;
$custom-dark: #000000;
JSON
{
  "hex": "#123372",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 114
  },
  "hsl": {
    "h": 219.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.33822,
    "c": 0.11565,
    "h": 261.7
  },
  "luminance": 0.03711
}

Semantic roles & 50–950 ramp

primary
#123372
secondary
#A98237
accent
#B138EF
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #123372

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

Preview Lab → · Contrast checker → · Palette generator →

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