#283783#283783

#283783 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.2% C 0.129 H 270.5°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#283783
RGBrgb(40, 55, 131)
HSLhsl(230, 53%, 34%)
HSVhsv(230, 69%, 51%)
CMYKcmyk(69.5%, 58%, 0%, 48.6%)
CIE-LABlab(26.22, 20.76, -44.68)
CIE-LCHlch(26.22, 49.27, 294.92°)
OKLaboklab(37.19% 0.0011 -0.1286)
OKLCHoklch(37.19% 0.129 270.5)
XYZxyz(6.3366, 4.8216, 22.0651)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283783 #837428
analogous
#286483 #283783 #462883
triadic
#283783 #832837 #378328
tetradic
#283783 #832864 #837428 #288346
square
#283783 #832864 #837428 #288346
split-complementary
#283783 #834628 #648328
monochromatic
#0B1025 #1A2354 #283783 #364BB2 #596CCC

Accessibility & contrast

On white

10.69
#283783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283783
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283783#FFFFFF#000000##FFFFFF
##2837831.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004286
Deuteranopia (green-blind)
#003A81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283783;
/* rgb */ color: rgb(40, 55, 131);
/* oklch */ color: oklch(37.2% 0.129 270.5);
Tailwind
colors: {
  custom: {
    50: '#6e6da8',
    500: '#283783',
    950: '#000000',
  },
}
SCSS
$custom: #283783;
$custom-light: #6e6da8;
$custom-dark: #000000;
JSON
{
  "hex": "#283783",
  "rgb": {
    "r": 40,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 230.11,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37191,
    "c": 0.12858,
    "h": 270.5
  },
  "luminance": 0.04822
}

Semantic roles & 50–950 ramp

primary
#283783
secondary
#B1A255
accent
#C54BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283783

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

Preview Lab → · Contrast checker → · Palette generator →

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