#283378#283378

#283378 is a dark, moderate blue. Relative luminance 0.042; OKLCH L 35.4% C 0.118 H 272.1°. Best body text is #FFFFFF at 11.44:1 contrast (WCAG AA passes).

Color values

HEX#283378
RGBrgb(40, 51, 120)
HSLhsl(232, 50%, 31%)
HSVhsv(232, 67%, 47%)
CMYKcmyk(66.7%, 57.5%, 0%, 52.9%)
CIE-LABlab(24.24, 19.33, -40.96)
CIE-LCHlch(24.24, 45.30, 295.27°)
OKLaboklab(35.44% 0.0044 -0.1177)
OKLCHoklch(35.44% 0.118 272.1)
XYZxyz(5.4479, 4.1744, 18.2843)
Luminance0.0418 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283378 #786D28
analogous
#285B78 #283378 #452878
triadic
#283378 #782833 #337828
tetradic
#283378 #78285B #786D28 #287845
square
#283378 #78285B #786D28 #287845
split-complementary
#283378 #784528 #5B7828
monochromatic
#090C1C #191F4A #283378 #3747A6 #5464C6

Accessibility & contrast

On white

11.44
#283378 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#283378 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283378
11.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283378#FFFFFF#000000##FFFFFF
##2833781.0011.441.8411.44
#FFFFFF11.441.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7A
Deuteranopia (green-blind)
#003677
Tritanopia (blue-blind)
#004350
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283378;
/* rgb */ color: rgb(40, 51, 120);
/* oklch */ color: oklch(35.4% 0.118 272.1);
Tailwind
colors: {
  custom: {
    50: '#6c6a9f',
    500: '#283378',
    950: '#000000',
  },
}
SCSS
$custom: #283378;
$custom-light: #6c6a9f;
$custom-dark: #000000;
JSON
{
  "hex": "#283378",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 120
  },
  "hsl": {
    "h": 231.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.35435,
    "c": 0.11778,
    "h": 272.1
  },
  "luminance": 0.04175
}

Semantic roles & 50–950 ramp

primary
#283378
secondary
#AA9E52
accent
#C64EDA
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060F
muted
#7A7A7E

Preview Lab

Preview with #283378

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

Preview Lab → · Contrast checker → · Palette generator →

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