#282F53#282F53

#282F53 is a dark, moderate blue. Relative luminance 0.031; OKLCH L 31.8% C 0.065 H 273.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#282F53
RGBrgb(40, 47, 83)
HSLhsl(230, 35%, 24%)
HSVhsv(230, 52%, 33%)
CMYKcmyk(51.8%, 43.4%, 0%, 67.5%)
CIE-LABlab(20.47, 8.38, -22.93)
CIE-LCHlch(20.47, 24.41, 290.07°)
OKLaboklab(31.75% 0.0043 -0.0648)
OKLCHoklch(31.75% 0.065 273.8)
XYZxyz(3.4524, 3.1085, 8.6000)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F53 #534C28
analogous
#284553 #282F53 #372853
triadic
#282F53 #53282F #2F5328
tetradic
#282F53 #532845 #534C28 #285337
square
#282F53 #532845 #534C28 #285337
split-complementary
#282F53 #533728 #455328
monochromatic
#0A0C15 #14182A #282F53 #3C467C #505EA6

Accessibility & contrast

On white

12.95
#282F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#282F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F53
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F53#FFFFFF#000000##FFFFFF
##282F531.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#213354
Deuteranopia (green-blind)
#1D3052
Tritanopia (blue-blind)
#18373D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #282f53;
/* rgb */ color: rgb(40, 47, 83);
/* oklch */ color: oklch(31.8% 0.065 273.8);
Tailwind
colors: {
  custom: {
    50: '#656783',
    500: '#282f53',
    950: '#000000',
  },
}
SCSS
$custom: #282f53;
$custom-light: #656783;
$custom-dark: #000000;
JSON
{
  "hex": "#282f53",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 83
  },
  "hsl": {
    "h": 230.233,
    "s": 34.959,
    "l": 24.118
  },
  "oklch": {
    "l": 0.31751,
    "c": 0.06491,
    "h": 273.8
  },
  "luminance": 0.03109
}

Semantic roles & 50–950 ramp

primary
#282F53
secondary
#867D51
accent
#B95DCB
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060A
muted
#7A7A7C

Preview Lab

Preview with #282F53

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

Preview Lab → · Contrast checker → · Palette generator →

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