#123380#123380

#123380 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 35.1% C 0.136 H 263.4°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#123380
RGBrgb(18, 51, 128)
HSLhsl(222, 75%, 29%)
HSVhsv(222, 86%, 50%)
CMYKcmyk(85.9%, 60.2%, 0%, 49.8%)
CIE-LABlab(23.85, 19.59, -46.70)
CIE-LCHlch(23.85, 50.64, 292.76°)
OKLaboklab(35.06% -0.0155 -0.135)
OKLCHoklch(35.06% 0.136 263.4)
XYZxyz(5.3282, 4.0541, 20.9196)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123380 #805F12
analogous
#126A80 #123380 #281280
triadic
#123380 #801233 #338012
tetradic
#123380 #80126A #805F12 #128028
square
#123380 #80126A #805F12 #128028
split-complementary
#123380 #802812 #6A8012
monochromatic
#040B1B #0A1E4A #123380 #1A48B6 #2B62E1

Accessibility & contrast

On white

11.60
#123380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#123380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123380
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123380#FFFFFF#000000##FFFFFF
##1233801.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00347F
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #123380;
/* rgb */ color: rgb(18, 51, 128);
/* oklch */ color: oklch(35.1% 0.136 263.4);
Tailwind
colors: {
  custom: {
    50: '#666aa6',
    500: '#123380',
    950: '#000000',
  },
}
SCSS
$custom: #123380;
$custom-light: #666aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#123380",
  "rgb": {
    "r": 18,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 222,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.35062,
    "c": 0.13591,
    "h": 263.4
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#123380
secondary
#B69038
accent
#BA36F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#07060F
muted
#7A7A7F

Preview Lab

Preview with #123380

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

Preview Lab → · Contrast checker → · Palette generator →

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