#282F67#282F67

#282F67 is a dark, moderate blue. Relative luminance 0.035; OKLCH L 33.2% C 0.097 H 274.5°. Best body text is #FFFFFF at 12.41:1 contrast (WCAG AA passes).

Color values

HEX#282F67
RGBrgb(40, 47, 103)
HSLhsl(233, 44%, 28%)
HSVhsv(233, 61%, 40%)
CMYKcmyk(61.2%, 54.4%, 0%, 59.6%)
CIE-LABlab(21.81, 15.72, -33.97)
CIE-LCHlch(21.81, 37.43, 294.84°)
OKLaboklab(33.2% 0.0076 -0.0972)
OKLCHoklch(33.2% 0.097 274.5)
XYZxyz(4.3390, 3.4631, 13.2691)
Luminance0.0346 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F67 #676028
analogous
#284E67 #282F67 #402867
triadic
#282F67 #67282F #2F6728
tetradic
#282F67 #67284E #676028 #286740
square
#282F67 #67284E #676028 #286740
split-complementary
#282F67 #674028 #4E6728
monochromatic
#090A16 #171B3B #282F67 #394393 #4F5BBB

Accessibility & contrast

On white

12.41
#282F67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#282F67 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F67
12.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F67#FFFFFF#000000##FFFFFF
##282F671.0012.411.6912.41
#FFFFFF12.411.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#103769
Deuteranopia (green-blind)
#043266
Tritanopia (blue-blind)
#013C46
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #282f67;
/* rgb */ color: rgb(40, 47, 103);
/* oklch */ color: oklch(33.2% 0.097 274.5);
Tailwind
colors: {
  custom: {
    50: '#686793',
    500: '#282f67',
    950: '#000000',
  },
}
SCSS
$custom: #282f67;
$custom-light: #686793;
$custom-dark: #000000;
JSON
{
  "hex": "#282f67",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 103
  },
  "hsl": {
    "h": 233.333,
    "s": 44.056,
    "l": 28.039
  },
  "oklch": {
    "l": 0.33201,
    "c": 0.09746,
    "h": 274.5
  },
  "luminance": 0.03463
}

Semantic roles & 50–950 ramp

primary
#282F67
secondary
#9A9251
accent
#C654D4
background
#F6F6F9
surface
#EBEBF1
border
#C6C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282F67

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

Preview Lab → · Contrast checker → · Palette generator →

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