#123183#123183

#123183 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 34.9% C 0.143 H 264.3°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#123183
RGBrgb(18, 49, 131)
HSLhsl(224, 76%, 29%)
HSVhsv(224, 86%, 51%)
CMYKcmyk(86.3%, 62.6%, 0%, 48.6%)
CIE-LABlab(23.55, 22.25, -49.08)
CIE-LCHlch(23.55, 53.88, 294.39°)
OKLaboklab(34.92% -0.0142 -0.142)
OKLCHoklch(34.92% 0.143 264.3)
XYZxyz(5.4430, 3.9632, 21.9464)
Luminance0.0396 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123183 #836412
analogous
#126A83 #123183 #2C1283
triadic
#123183 #831231 #318312
tetradic
#123183 #83126A #836412 #12832C
square
#123183 #83126A #836412 #12832C
split-complementary
#123183 #832C12 #6A8312
monochromatic
#040A1B #0B1D4D #123183 #1945B9 #2D5FE2

Accessibility & contrast

On white

11.71
#123183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#123183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123183
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123183#FFFFFF#000000##FFFFFF
##1231831.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003381
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #123183;
/* rgb */ color: rgb(18, 49, 131);
/* oklch */ color: oklch(34.9% 0.143 264.3);
Tailwind
colors: {
  custom: {
    50: '#6768a8',
    500: '#123183',
    950: '#000000',
  },
}
SCSS
$custom: #123183;
$custom-light: #6768a8;
$custom-dark: #000000;
JSON
{
  "hex": "#123183",
  "rgb": {
    "r": 18,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 223.54,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3492,
    "c": 0.14273,
    "h": 264.3
  },
  "luminance": 0.03964
}

Semantic roles & 50–950 ramp

primary
#123183
secondary
#B89538
accent
#BF35F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070610
muted
#7A7A7F

Preview Lab

Preview with #123183

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

Preview Lab → · Contrast checker → · Palette generator →

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