#123783#123783

#123783 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.2% C 0.135 H 262.4°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#123783
RGBrgb(18, 55, 131)
HSLhsl(220, 76%, 29%)
HSVhsv(220, 86%, 51%)
CMYKcmyk(86.3%, 58%, 0%, 48.6%)
CIE-LABlab(25.26, 18.00, -46.29)
CIE-LCHlch(25.26, 49.67, 291.25°)
OKLaboklab(36.2% -0.0179 -0.1337)
OKLCHoklch(36.2% 0.135 262.4)
XYZxyz(5.7109, 4.4990, 22.0357)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123783 #835E12
analogous
#127083 #123783 #261283
triadic
#123783 #831237 #378312
tetradic
#123783 #831270 #835E12 #128326
square
#123783 #831270 #835E12 #128326
split-complementary
#123783 #832612 #708312
monochromatic
#040B1B #0B204D #123783 #194EB9 #2D68E2

Accessibility & contrast

On white

11.05
#123783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#123783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123783
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123783#FFFFFF#000000##FFFFFF
##1237831.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004186
Deuteranopia (green-blind)
#003782
Tritanopia (blue-blind)
#004A57
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #123783;
/* rgb */ color: rgb(18, 55, 131);
/* oklch */ color: oklch(36.2% 0.135 262.4);
Tailwind
colors: {
  custom: {
    50: '#666da8',
    500: '#123783',
    950: '#000000',
  },
}
SCSS
$custom: #123783;
$custom-light: #666da8;
$custom-dark: #000000;
JSON
{
  "hex": "#123783",
  "rgb": {
    "r": 18,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 220.354,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36201,
    "c": 0.13494,
    "h": 262.4
  },
  "luminance": 0.045
}

Semantic roles & 50–950 ramp

primary
#123783
secondary
#B88E38
accent
#B535F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #123783

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

Preview Lab → · Contrast checker → · Palette generator →

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