#282F73#282F73

#282F73 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 34.2% C 0.116 H 274.1°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#282F73
RGBrgb(40, 47, 115)
HSLhsl(234, 48%, 30%)
HSVhsv(234, 65%, 45%)
CMYKcmyk(65.2%, 59.1%, 0%, 54.9%)
CIE-LABlab(22.73, 20.23, -40.22)
CIE-LCHlch(22.73, 45.02, 296.70°)
OKLaboklab(34.18% 0.0083 -0.1156)
OKLCHoklch(34.18% 0.116 274.1)
XYZxyz(4.9851, 3.7215, 16.6720)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F73 #736C28
analogous
#285473 #282F73 #462873
triadic
#282F73 #73282F #2F7328
tetradic
#282F73 #732854 #736C28 #287346
square
#282F73 #732854 #736C28 #287346
split-complementary
#282F73 #734628 #547328
monochromatic
#080A18 #181C46 #282F73 #3842A0 #525DC3

Accessibility & contrast

On white

12.04
#282F73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#282F73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F73
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F73#FFFFFF#000000##FFFFFF
##282F731.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A75
Deuteranopia (green-blind)
#003372
Tritanopia (blue-blind)
#003F4C
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282f73;
/* rgb */ color: rgb(40, 47, 115);
/* oklch */ color: oklch(34.2% 0.116 274.1);
Tailwind
colors: {
  custom: {
    50: '#6b679c',
    500: '#282f73',
    950: '#000000',
  },
}
SCSS
$custom: #282f73;
$custom-light: #6b679c;
$custom-dark: #000000;
JSON
{
  "hex": "#282f73",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 115
  },
  "hsl": {
    "h": 234.4,
    "s": 48.387,
    "l": 30.392
  },
  "oklch": {
    "l": 0.34181,
    "c": 0.11587,
    "h": 274.1
  },
  "luminance": 0.03722
}

Semantic roles & 50–950 ramp

primary
#282F73
secondary
#A59D52
accent
#CB50D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #282F73

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

Preview Lab → · Contrast checker → · Palette generator →

#282F73 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva