#283183#283183

#283183 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.137 H 272.7°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#283183
RGBrgb(40, 49, 131)
HSLhsl(234, 53%, 34%)
HSVhsv(234, 69%, 51%)
CMYKcmyk(69.5%, 62.6%, 0%, 48.6%)
CIE-LABlab(24.59, 24.86, -47.33)
CIE-LCHlch(24.59, 53.46, 297.72°)
OKLaboklab(35.98% 0.0064 -0.1364)
OKLCHoklch(35.98% 0.137 272.7)
XYZxyz(6.0687, 4.2859, 21.9758)
Luminance0.0429 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283183 #837A28
analogous
#285E83 #283183 #4C2883
triadic
#283183 #832831 #318328
tetradic
#283183 #83285E #837A28 #28834C
square
#283183 #83285E #837A28 #28834C
split-complementary
#283183 #834C28 #5E8328
monochromatic
#0B0E25 #1A1F54 #283183 #3643B2 #5964CC

Accessibility & contrast

On white

11.31
#283183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#283183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283183
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283183#FFFFFF#000000##FFFFFF
##2831831.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003681
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283183;
/* rgb */ color: rgb(40, 49, 131);
/* oklch */ color: oklch(36.0% 0.137 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e69a8',
    500: '#283183',
    950: '#000000',
  },
}
SCSS
$custom: #283183;
$custom-light: #6e69a8;
$custom-dark: #000000;
JSON
{
  "hex": "#283183",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 131
  },
  "hsl": {
    "h": 234.066,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.35982,
    "c": 0.13658,
    "h": 272.7
  },
  "luminance": 0.04286
}

Semantic roles & 50–950 ramp

primary
#283183
secondary
#B1A855
accent
#CE4BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283183

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

Preview Lab → · Contrast checker → · Palette generator →

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