#283281#283281

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

Color values

HEX#283281
RGBrgb(40, 50, 129)
HSLhsl(233, 53%, 33%)
HSVhsv(233, 69%, 51%)
CMYKcmyk(69%, 61.2%, 0%, 49.4%)
CIE-LABlab(24.69, 23.43, -45.91)
CIE-LCHlch(24.69, 51.54, 297.04°)
OKLaboklab(36% 0.0055 -0.1323)
OKLCHoklch(36% 0.132 272.4)
XYZxyz(5.9768, 4.3168, 21.2829)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283281 #817728
analogous
#285E81 #283281 #4A2881
triadic
#283281 #812832 #328128
tetradic
#283281 #81285E #817728 #28814A
square
#283281 #81285E #817728 #28814A
split-complementary
#283281 #814A28 #5E8128
monochromatic
#0B0E24 #1A2052 #283281 #3644B0 #5865CB

Accessibility & contrast

On white

11.27
#283281 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283281
11.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283281#FFFFFF#000000##FFFFFF
##2832811.0011.271.8611.27
#FFFFFF11.271.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #283281;
/* rgb */ color: rgb(40, 50, 129);
/* oklch */ color: oklch(36.0% 0.132 272.4);
Tailwind
colors: {
  custom: {
    50: '#6e69a6',
    500: '#283281',
    950: '#000000',
  },
}
SCSS
$custom: #283281;
$custom-light: #6e69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#283281",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 233.258,
    "s": 52.663,
    "l": 33.137
  },
  "oklch": {
    "l": 0.36001,
    "c": 0.13238,
    "h": 272.4
  },
  "luminance": 0.04317
}

Semantic roles & 50–950 ramp

primary
#283281
secondary
#B0A654
accent
#CC4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #283281

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

Preview Lab → · Contrast checker → · Palette generator →

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