#282F95#282F95

#282F95 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.3% C 0.164 H 272.3°. Best body text is #FFFFFF at 10.88:1 contrast (WCAG AA passes).

Color values

HEX#282F95
RGBrgb(40, 47, 149)
HSLhsl(236, 58%, 37%)
HSVhsv(236, 73%, 58%)
CMYKcmyk(73.2%, 68.5%, 0%, 41.6%)
CIE-LABlab(25.72, 32.84, -56.65)
CIE-LCHlch(25.72, 65.48, 300.10°)
OKLaboklab(37.31% 0.0067 -0.1638)
OKLCHoklch(37.31% 0.164 272.3)
XYZxyz(7.3146, 4.6533, 28.9406)
Luminance0.0465 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F95 #958E28
analogous
#286695 #282F95 #582895
triadic
#282F95 #95282F #2F9528
tetradic
#282F95 #952866 #958E28 #289558
square
#282F95 #952866 #958E28 #289558
split-complementary
#282F95 #955828 #669528
monochromatic
#0E1135 #1B2065 #282F95 #353EC5 #626AD5

Accessibility & contrast

On white

10.88
#282F95 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#282F95 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F95
10.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F95#FFFFFF#000000##FFFFFF
##282F951.0010.881.9310.88
#FFFFFF10.881.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004298
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004A5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #282f95;
/* rgb */ color: rgb(40, 47, 149);
/* oklch */ color: oklch(37.3% 0.164 272.3);
Tailwind
colors: {
  custom: {
    50: '#7368b5',
    500: '#282f95',
    950: '#000000',
  },
}
SCSS
$custom: #282f95;
$custom-light: #7368b5;
$custom-dark: #000000;
JSON
{
  "hex": "#282f95",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 149
  },
  "hsl": {
    "h": 236.147,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37312,
    "c": 0.16392,
    "h": 272.3
  },
  "luminance": 0.04654
}

Semantic roles & 50–950 ramp

primary
#282F95
secondary
#BBB55E
accent
#D747E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282F95

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

Preview Lab → · Contrast checker → · Palette generator →

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