#283282#283282

#283282 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.1% C 0.134 H 272.4°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#283282
RGBrgb(40, 50, 130)
HSLhsl(233, 53%, 33%)
HSVhsv(233, 69%, 51%)
CMYKcmyk(69.2%, 61.5%, 0%, 49%)
CIE-LABlab(24.78, 23.81, -46.40)
CIE-LCHlch(24.78, 52.15, 297.16°)
OKLaboklab(36.09% 0.0055 -0.1337)
OKLCHoklch(36.09% 0.134 272.4)
XYZxyz(6.0436, 4.3435, 21.6346)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283282 #827828
analogous
#285F82 #283282 #4B2882
triadic
#283282 #822832 #328228
tetradic
#283282 #82285F #827828 #28824B
square
#283282 #82285F #827828 #28824B
split-complementary
#283282 #824B28 #5F8228
monochromatic
#0B0E24 #1A2053 #283282 #3644B1 #5965CC

Accessibility & contrast

On white

11.24
#283282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#283282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283282
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283282#FFFFFF#000000##FFFFFF
##2832821.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003780
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283282;
/* rgb */ color: rgb(40, 50, 130);
/* oklch */ color: oklch(36.1% 0.134 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e69a7',
    500: '#283282',
    950: '#000000',
  },
}
SCSS
$custom: #283282;
$custom-light: #6e69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#283282",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 233.333,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.3609,
    "c": 0.13382,
    "h": 272.4
  },
  "luminance": 0.04344
}

Semantic roles & 50–950 ramp

primary
#283282
secondary
#B1A755
accent
#CC4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #283282

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

Preview Lab → · Contrast checker → · Palette generator →

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