#282F6D#282F6D

#282F6D is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.7% C 0.107 H 274.3°. Best body text is #FFFFFF at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#282F6D
RGBrgb(40, 47, 109)
HSLhsl(234, 46%, 29%)
HSVhsv(234, 63%, 43%)
CMYKcmyk(63.3%, 56.9%, 0%, 57.3%)
CIE-LABlab(22.26, 17.97, -37.13)
CIE-LCHlch(22.26, 41.25, 295.83°)
OKLaboklab(33.68% 0.008 -0.1065)
OKLCHoklch(33.68% 0.107 274.3)
XYZxyz(4.6510, 3.5879, 14.9125)
Luminance0.0359 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282F6D #6D6628
analogous
#28526D #282F6D #44286D
triadic
#282F6D #6D282F #2F6D28
tetradic
#282F6D #6D2852 #6D6628 #286D44
square
#282F6D #6D2852 #6D6628 #286D44
split-complementary
#282F6D #6D4428 #526D28
monochromatic
#080A16 #181C40 #282F6D #38429A #505CBF

Accessibility & contrast

On white

12.23
#282F6D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#282F6D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282F6D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282F6D#FFFFFF#000000##FFFFFF
##282F6D1.0012.231.7212.23
#FFFFFF12.231.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06386F
Deuteranopia (green-blind)
#00326C
Tritanopia (blue-blind)
#003D49
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #282f6d;
/* rgb */ color: rgb(40, 47, 109);
/* oklch */ color: oklch(33.7% 0.107 274.3);
Tailwind
colors: {
  custom: {
    50: '#6a6797',
    500: '#282f6d',
    950: '#000000',
  },
}
SCSS
$custom: #282f6d;
$custom-light: #6a6797;
$custom-dark: #000000;
JSON
{
  "hex": "#282f6d",
  "rgb": {
    "r": 40,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 233.913,
    "s": 46.309,
    "l": 29.216
  },
  "oklch": {
    "l": 0.33681,
    "c": 0.10677,
    "h": 274.3
  },
  "luminance": 0.03588
}

Semantic roles & 50–950 ramp

primary
#282F6D
secondary
#9F9851
accent
#C952D6
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #282F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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