#282B4E#282B4E

#282B4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.5% C 0.063 H 278.3°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#282B4E
RGBrgb(40, 43, 78)
HSLhsl(235, 32%, 23%)
HSVhsv(235, 49%, 31%)
CMYKcmyk(48.7%, 44.9%, 0%, 69.4%)
CIE-LABlab(18.92, 9.45, -22.02)
CIE-LCHlch(18.92, 23.97, 293.24°)
OKLaboklab(30.46% 0.009 -0.0622)
OKLCHoklch(30.46% 0.063 278.3)
XYZxyz(3.1137, 2.7288, 7.5689)
Luminance0.0273 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282B4E #4E4B28
analogous
#283E4E #282B4E #38284E
triadic
#282B4E #4E282B #2B4E28
tetradic
#282B4E #4E283E #4E4B28 #284E38
square
#282B4E #4E283E #4E4B28 #284E38
split-complementary
#282B4E #4E3828 #3E4E28
monochromatic
#0A0B14 #131526 #282B4E #3D4176 #51589F

Accessibility & contrast

On white

13.59
#282B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#282B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282B4E
13.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282B4E#FFFFFF#000000##FFFFFF
##282B4E1.0013.591.5513.59
#FFFFFF13.591.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E2F4F
Deuteranopia (green-blind)
#1B2D4D
Tritanopia (blue-blind)
#1B3238
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282b4e;
/* rgb */ color: rgb(40, 43, 78);
/* oklch */ color: oklch(30.5% 0.063 278.3);
Tailwind
colors: {
  custom: {
    50: '#646480',
    500: '#282b4e',
    950: '#000000',
  },
}
SCSS
$custom: #282b4e;
$custom-light: #646480;
$custom-dark: #000000;
JSON
{
  "hex": "#282b4e",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 235.263,
    "s": 32.203,
    "l": 23.137
  },
  "oklch": {
    "l": 0.30465,
    "c": 0.06281,
    "h": 278.3
  },
  "luminance": 0.02729
}

Semantic roles & 50–950 ramp

primary
#282B4E
secondary
#817D51
accent
#C05FC8
background
#F6F5F7
surface
#EBEAEE
border
#C6C6C9
text
#05050A
muted
#7A797C

Preview Lab

Preview with #282B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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