#283380#283380

#283380 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.1% C 0.130 H 272.0°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#283380
RGBrgb(40, 51, 128)
HSLhsl(233, 52%, 33%)
HSVhsv(233, 69%, 50%)
CMYKcmyk(68.8%, 60.2%, 0%, 49.8%)
CIE-LABlab(24.88, 22.37, -44.98)
CIE-LCHlch(24.88, 50.23, 296.44°)
OKLaboklab(36.12% 0.0046 -0.1295)
OKLCHoklch(36.12% 0.13 272)
XYZxyz(5.9539, 4.3767, 20.9489)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283380 #807528
analogous
#285F80 #283380 #492880
triadic
#283380 #802833 #338028
tetradic
#283380 #80285F #807528 #288049
square
#283380 #80285F #807528 #288049
split-complementary
#283380 #804928 #5F8028
monochromatic
#0B0E23 #192051 #283380 #3746AF #5866CB

Accessibility & contrast

On white

11.20
#283380 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#283380 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283380
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283380#FFFFFF#000000##FFFFFF
##2833801.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F83
Deuteranopia (green-blind)
#00377E
Tritanopia (blue-blind)
#004654
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283380;
/* rgb */ color: rgb(40, 51, 128);
/* oklch */ color: oklch(36.1% 0.130 272.0);
Tailwind
colors: {
  custom: {
    50: '#6d6aa5',
    500: '#283380',
    950: '#000000',
  },
}
SCSS
$custom: #283380;
$custom-light: #6d6aa5;
$custom-dark: #000000;
JSON
{
  "hex": "#283380",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 128
  },
  "hsl": {
    "h": 232.5,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.36115,
    "c": 0.12959,
    "h": 272
  },
  "luminance": 0.04377
}

Semantic roles & 50–950 ramp

primary
#283380
secondary
#B0A454
accent
#CA4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #283380

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

Preview Lab → · Contrast checker → · Palette generator →

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