#123377#123377

#123377 is a dark, vivid blue. Relative luminance 0.038; OKLCH L 34.3% C 0.123 H 262.4°. Best body text is #FFFFFF at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#123377
RGBrgb(18, 51, 119)
HSLhsl(220, 74%, 27%)
HSVhsv(220, 85%, 47%)
CMYKcmyk(84.9%, 57.1%, 0%, 53.3%)
CIE-LABlab(23.09, 15.82, -42.24)
CIE-LCHlch(23.09, 45.10, 290.53°)
OKLaboklab(34.25% -0.0162 -0.1219)
OKLCHoklch(34.25% 0.123 262.4)
XYZxyz(4.7619, 3.8276, 17.9370)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123377 #775612
analogous
#126677 #123377 #241277
triadic
#123377 #771233 #337712
tetradic
#123377 #771266 #775612 #127724
square
#123377 #771266 #775612 #127724
split-complementary
#123377 #772412 #667712
monochromatic
#040B1B #0A1C42 #123377 #1A4AAC #2562DE

Accessibility & contrast

On white

11.89
#123377 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#123377 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123377
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123377#FFFFFF#000000##FFFFFF
##1233771.0011.891.7711.89
#FFFFFF11.891.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.891.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #123377;
/* rgb */ color: rgb(18, 51, 119);
/* oklch */ color: oklch(34.3% 0.123 262.4);
Tailwind
colors: {
  custom: {
    50: '#636a9f',
    500: '#123377',
    950: '#000000',
  },
}
SCSS
$custom: #123377;
$custom-light: #636a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#123377",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 119
  },
  "hsl": {
    "h": 220.396,
    "s": 73.723,
    "l": 26.863
  },
  "oklch": {
    "l": 0.34254,
    "c": 0.12297,
    "h": 262.4
  },
  "luminance": 0.03828
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #123377

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

Preview Lab → · Contrast checker → · Palette generator →

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