#283276#283276

#283276 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 35.1% C 0.116 H 272.6°. Best body text is #FFFFFF at 11.62:1 contrast (WCAG AA passes).

Color values

HEX#283276
RGBrgb(40, 50, 118)
HSLhsl(232, 49%, 31%)
HSVhsv(232, 66%, 46%)
CMYKcmyk(66.1%, 57.6%, 0%, 53.7%)
CIE-LABlab(23.80, 19.27, -40.40)
CIE-LCHlch(23.80, 44.76, 295.50°)
OKLaboklab(35.06% 0.0053 -0.116)
OKLCHoklch(35.06% 0.116 272.6)
XYZxyz(5.2846, 4.0399, 17.6373)
Luminance0.0404 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283276 #766C28
analogous
#285976 #283276 #452876
triadic
#283276 #762832 #327628
tetradic
#283276 #762859 #766C28 #287645
square
#283276 #762859 #766C28 #287645
split-complementary
#283276 #764528 #597628
monochromatic
#090B1B #191F48 #283276 #3745A4 #5462C5

Accessibility & contrast

On white

11.62
#283276 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#283276 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283276
11.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283276#FFFFFF#000000##FFFFFF
##2832761.0011.621.8111.62
#FFFFFF11.621.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C78
Deuteranopia (green-blind)
#003575
Tritanopia (blue-blind)
#00424F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #283276;
/* rgb */ color: rgb(40, 50, 118);
/* oklch */ color: oklch(35.1% 0.116 272.6);
Tailwind
colors: {
  custom: {
    50: '#6b699e',
    500: '#283276',
    950: '#000000',
  },
}
SCSS
$custom: #283276;
$custom-light: #6b699e;
$custom-dark: #000000;
JSON
{
  "hex": "#283276",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 118
  },
  "hsl": {
    "h": 232.308,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.35058,
    "c": 0.11617,
    "h": 272.6
  },
  "luminance": 0.0404
}

Semantic roles & 50–950 ramp

primary
#283276
secondary
#A89D52
accent
#C74FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283276

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

Preview Lab → · Contrast checker → · Palette generator →

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