#283076#283076

#283076 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.6% C 0.119 H 273.5°. Best body text is #FFFFFF at 11.83:1 contrast (WCAG AA passes).

Color values

HEX#283076
RGBrgb(40, 48, 118)
HSLhsl(234, 49%, 31%)
HSVhsv(234, 66%, 46%)
CMYKcmyk(66.1%, 59.3%, 0%, 53.7%)
CIE-LABlab(23.25, 20.66, -41.30)
CIE-LCHlch(23.25, 46.18, 296.58°)
OKLaboklab(34.64% 0.0073 -0.1187)
OKLCHoklch(34.64% 0.119 273.5)
XYZxyz(5.2010, 3.8726, 17.6094)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283076 #766E28
analogous
#285776 #283076 #472876
triadic
#283076 #762830 #307628
tetradic
#283076 #762857 #766E28 #287647
square
#283076 #762857 #766E28 #287647
split-complementary
#283076 #764728 #577628
monochromatic
#090B1B #191D48 #283076 #3743A4 #545FC5

Accessibility & contrast

On white

11.83
#283076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#283076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283076
11.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283076#FFFFFF#000000##FFFFFF
##2830761.0011.831.7711.83
#FFFFFF11.831.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B78
Deuteranopia (green-blind)
#003475
Tritanopia (blue-blind)
#00414E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283076;
/* rgb */ color: rgb(40, 48, 118);
/* oklch */ color: oklch(34.6% 0.119 273.5);
Tailwind
colors: {
  custom: {
    50: '#6b689e',
    500: '#283076',
    950: '#000000',
  },
}
SCSS
$custom: #283076;
$custom-light: #6b689e;
$custom-dark: #000000;
JSON
{
  "hex": "#283076",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 233.846,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.34642,
    "c": 0.11896,
    "h": 273.5
  },
  "luminance": 0.03873
}

Semantic roles & 50–950 ramp

primary
#283076
secondary
#A89F52
accent
#CB4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283076

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

Preview Lab → · Contrast checker → · Palette generator →

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