#282F90#282F90

#282F90 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.8% C 0.157 H 272.6°. Best body text is #FFFFFF at 11.05:1 contrast (WCAG AA passes).

Color values

HEX#282F90
RGBrgb(40, 47, 144)
HSLhsl(236, 57%, 36%)
HSVhsv(236, 72%, 56%)
CMYKcmyk(72.2%, 67.4%, 0%, 43.5%)
CIE-LABlab(25.25, 31.01, -54.35)
CIE-LCHlch(25.25, 62.57, 299.71°)
OKLaboklab(36.82% 0.0072 -0.157)
OKLCHoklch(36.82% 0.157 272.6)
XYZxyz(6.9239, 4.4971, 26.8833)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F90 #908928
analogous
#286390 #282F90 #552890
triadic
#282F90 #90282F #2F9028
tetradic
#282F90 #902863 #908928 #289055
square
#282F90 #902863 #908928 #289055
split-complementary
#282F90 #905528 #639028
monochromatic
#0D1030 #1B1F60 #282F90 #353FC0 #6067D3

Accessibility & contrast

On white

11.05
#282F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#282F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F90
11.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F90#FFFFFF#000000##FFFFFF
##282F901.0011.051.9011.05
#FFFFFF11.051.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004193
Deuteranopia (green-blind)
#00378E
Tritanopia (blue-blind)
#00495B
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #282f90;
/* rgb */ color: rgb(40, 47, 144);
/* oklch */ color: oklch(36.8% 0.157 272.6);
Tailwind
colors: {
  custom: {
    50: '#7268b1',
    500: '#282f90',
    950: '#000000',
  },
}
SCSS
$custom: #282f90;
$custom-light: #7268b1;
$custom-dark: #000000;
JSON
{
  "hex": "#282f90",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 235.962,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.36824,
    "c": 0.15719,
    "h": 272.6
  },
  "luminance": 0.04498
}

Semantic roles & 50–950 ramp

primary
#282F90
secondary
#B8B25C
accent
#D648E0
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #282F90

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

Preview Lab → · Contrast checker → · Palette generator →

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