#282F70#282F70

#282F70 is a dark, moderate blue. Relative luminance 0.037; OKLCH L 33.9% C 0.111 H 274.2°. Best body text is #FFFFFF at 12.13:1 contrast (WCAG AA passes).

Color values

HEX#282F70
RGBrgb(40, 47, 112)
HSLhsl(234, 47%, 30%)
HSVhsv(234, 64%, 44%)
CMYKcmyk(64.3%, 58%, 0%, 56.1%)
CIE-LABlab(22.49, 19.10, -38.68)
CIE-LCHlch(22.49, 43.14, 296.28°)
OKLaboklab(33.93% 0.0082 -0.111)
OKLCHoklch(33.93% 0.111 274.2)
XYZxyz(4.8153, 3.6536, 15.7776)
Luminance0.0365 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F70 #706928
analogous
#285370 #282F70 #452870
triadic
#282F70 #70282F #2F7028
tetradic
#282F70 #702853 #706928 #287045
square
#282F70 #702853 #706928 #287045
split-complementary
#282F70 #704528 #537028
monochromatic
#080917 #181C43 #282F70 #38429D #515CC1

Accessibility & contrast

On white

12.13
#282F70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#282F70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F70
12.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F70#FFFFFF#000000##FFFFFF
##282F701.0012.131.7312.13
#FFFFFF12.131.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003972
Deuteranopia (green-blind)
#00336F
Tritanopia (blue-blind)
#003E4A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #282f70;
/* rgb */ color: rgb(40, 47, 112);
/* oklch */ color: oklch(33.9% 0.111 274.2);
Tailwind
colors: {
  custom: {
    50: '#6a679a',
    500: '#282f70',
    950: '#000000',
  },
}
SCSS
$custom: #282f70;
$custom-light: #6a679a;
$custom-dark: #000000;
JSON
{
  "hex": "#282f70",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 112
  },
  "hsl": {
    "h": 234.167,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.33929,
    "c": 0.11134,
    "h": 274.2
  },
  "luminance": 0.03654
}

Semantic roles & 50–950 ramp

primary
#282F70
secondary
#A29A51
accent
#CA51D7
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #282F70

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

Preview Lab → · Contrast checker → · Palette generator →

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