#123180#123180

#123180 is a dark, vivid blue. Relative luminance 0.039; OKLCH L 34.6% C 0.139 H 264.1°. Best body text is #FFFFFF at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#123180
RGBrgb(18, 49, 128)
HSLhsl(223, 75%, 29%)
HSVhsv(223, 86%, 50%)
CMYKcmyk(85.9%, 61.7%, 0%, 49.8%)
CIE-LABlab(23.28, 21.02, -47.63)
CIE-LCHlch(23.28, 52.06, 293.81°)
OKLaboklab(34.64% -0.0143 -0.1378)
OKLCHoklch(34.64% 0.139 264.1)
XYZxyz(5.2427, 3.8831, 20.8911)
Luminance0.0388 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123180 #806112
analogous
#126880 #123180 #2A1280
triadic
#123180 #801231 #318012
tetradic
#123180 #801268 #806112 #12802A
square
#123180 #801268 #806112 #12802A
split-complementary
#123180 #802A12 #688012
monochromatic
#040A1B #0A1C4A #123180 #1A46B6 #2B5EE1

Accessibility & contrast

On white

11.82
#123180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#123180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123180
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123180#FFFFFF#000000##FFFFFF
##1231801.0011.821.7811.82
#FFFFFF11.821.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D83
Deuteranopia (green-blind)
#00337E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #123180;
/* rgb */ color: rgb(18, 49, 128);
/* oklch */ color: oklch(34.6% 0.139 264.1);
Tailwind
colors: {
  custom: {
    50: '#6668a6',
    500: '#123180',
    950: '#000000',
  },
}
SCSS
$custom: #123180;
$custom-light: #6668a6;
$custom-dark: #000000;
JSON
{
  "hex": "#123180",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 223.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34636,
    "c": 0.13851,
    "h": 264.1
  },
  "luminance": 0.03884
}

Semantic roles & 50–950 ramp

primary
#123180
secondary
#B69238
accent
#BD36F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123180

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

Preview Lab → · Contrast checker → · Palette generator →

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