#122883#122883

#122883 is a dark, vivid blue. Relative luminance 0.033; OKLCH L 33.1% C 0.154 H 266.4°. Best body text is #FFFFFF at 12.67:1 contrast (WCAG AA passes).

Color values

HEX#122883
RGBrgb(18, 40, 131)
HSLhsl(228, 76%, 29%)
HSVhsv(228, 86%, 51%)
CMYKcmyk(86.3%, 69.5%, 0%, 48.6%)
CIE-LABlab(21.15, 28.51, -53.01)
CIE-LCHlch(21.15, 60.19, 298.27°)
OKLaboklab(33.15% -0.0095 -0.1536)
OKLCHoklch(33.15% 0.154 266.4)
XYZxyz(5.1035, 3.2843, 21.8333)
Luminance0.0328 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#122883 #836D12
analogous
#126183 #122883 #351283
triadic
#122883 #831228 #288312
tetradic
#122883 #831261 #836D12 #128335
square
#122883 #831261 #836D12 #128335
split-complementary
#122883 #833512 #618312
monochromatic
#04081B #0B184D #122883 #1938B9 #2D50E2

Accessibility & contrast

On white

12.67
#122883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#122883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #122883
12.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##122883#FFFFFF#000000##FFFFFF
##1228831.0012.671.6612.67
#FFFFFF12.671.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003886
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #122883;
/* rgb */ color: rgb(18, 40, 131);
/* oklch */ color: oklch(33.1% 0.154 266.4);
Tailwind
colors: {
  custom: {
    50: '#6862a8',
    500: '#122883',
    950: '#000000',
  },
}
SCSS
$custom: #122883;
$custom-light: #6862a8;
$custom-dark: #000000;
JSON
{
  "hex": "#122883",
  "rgb": {
    "r": 18,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 228.319,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33147,
    "c": 0.15393,
    "h": 266.4
  },
  "luminance": 0.03285
}

Semantic roles & 50–950 ramp

primary
#122883
secondary
#B89F38
accent
#CE35F2
background
#F6F5FA
surface
#ECEAF4
border
#C7C6CE
text
#070510
muted
#7A797F

Preview Lab

Preview with #122883

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

Preview Lab → · Contrast checker → · Palette generator →

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