#123883#123883

#123883 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.4% C 0.134 H 262.0°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#123883
RGBrgb(18, 56, 131)
HSLhsl(220, 76%, 29%)
HSVhsv(220, 86%, 51%)
CMYKcmyk(86.3%, 57.3%, 0%, 48.6%)
CIE-LABlab(25.55, 17.30, -45.82)
CIE-LCHlch(25.55, 48.97, 290.68°)
OKLaboklab(36.42% -0.0186 -0.1323)
OKLCHoklch(36.42% 0.134 262)
XYZxyz(5.7589, 4.5949, 22.0517)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#123883 #835D12
analogous
#127183 #123883 #251283
triadic
#123883 #831238 #388312
tetradic
#123883 #831271 #835D12 #128325
square
#123883 #831271 #835D12 #128325
split-complementary
#123883 #832512 #718312
monochromatic
#040C1B #0B214D #123883 #194FB9 #2D6AE2

Accessibility & contrast

On white

10.94
#123883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#123883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #123883
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##123883#FFFFFF#000000##FFFFFF
##1238831.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003882
Tritanopia (blue-blind)
#004B57
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #123883;
/* rgb */ color: rgb(18, 56, 131);
/* oklch */ color: oklch(36.4% 0.134 262.0);
Tailwind
colors: {
  custom: {
    50: '#666ea8',
    500: '#123883',
    950: '#000000',
  },
}
SCSS
$custom: #123883;
$custom-light: #666ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#123883",
  "rgb": {
    "r": 18,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 219.823,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.36421,
    "c": 0.13363,
    "h": 262
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#123883
secondary
#B88D38
accent
#B335F2
background
#F6F6FA
surface
#EBEBF4
border
#C6C6CE
text
#070710
muted
#7A7A7F

Preview Lab

Preview with #123883

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

Preview Lab → · Contrast checker → · Palette generator →

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