#282F99#282F99

#282F99 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.7% C 0.169 H 272.1°. Best body text is #FFFFFF at 10.73:1 contrast (WCAG AA passes).

Color values

HEX#282F99
RGBrgb(40, 47, 153)
HSLhsl(236, 59%, 38%)
HSVhsv(236, 74%, 60%)
CMYKcmyk(73.9%, 69.3%, 0%, 40%)
CIE-LABlab(26.11, 34.28, -58.48)
CIE-LCHlch(26.11, 67.78, 300.38°)
OKLaboklab(37.71% 0.0063 -0.1691)
OKLCHoklch(37.71% 0.169 272.1)
XYZxyz(7.6394, 4.7833, 30.6515)
Luminance0.0478 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F99 #999228
analogous
#286799 #282F99 #592899
triadic
#282F99 #99282F #2F9928
tetradic
#282F99 #992867 #999228 #289959
square
#282F99 #992867 #999228 #289959
split-complementary
#282F99 #995928 #679928
monochromatic
#0F1138 #1B2068 #282F99 #353ECA #656CD7

Accessibility & contrast

On white

10.73
#282F99 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#282F99 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F99
10.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F99#FFFFFF#000000##FFFFFF
##282F991.0010.731.9610.73
#FFFFFF10.731.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439C
Deuteranopia (green-blind)
#003897
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #282f99;
/* rgb */ color: rgb(40, 47, 153);
/* oklch */ color: oklch(37.7% 0.169 272.1);
Tailwind
colors: {
  custom: {
    50: '#7468b8',
    500: '#282f99',
    950: '#000000',
  },
}
SCSS
$custom: #282f99;
$custom-light: #7468b8;
$custom-dark: #000000;
JSON
{
  "hex": "#282f99",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 153
  },
  "hsl": {
    "h": 236.283,
    "s": 58.549,
    "l": 37.843
  },
  "oklch": {
    "l": 0.37708,
    "c": 0.16923,
    "h": 272.1
  },
  "luminance": 0.04784
}

Semantic roles & 50–950 ramp

primary
#282F99
secondary
#BDB760
accent
#D846E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282F99

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

Preview Lab → · Contrast checker → · Palette generator →

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