#282957#282957

#282957 is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.6% C 0.081 H 279.5°. Best body text is #FFFFFF at 13.59:1 contrast (WCAG AA passes).

Color values

HEX#282957
RGBrgb(40, 41, 87)
HSLhsl(239, 37%, 25%)
HSVhsv(239, 54%, 34%)
CMYKcmyk(54%, 52.9%, 0%, 65.9%)
CIE-LABlab(18.91, 14.09, -28.09)
CIE-LCHlch(18.91, 31.43, 296.64°)
OKLaboklab(30.64% 0.0134 -0.0799)
OKLCHoklch(30.64% 0.081 279.5)
XYZxyz(3.3878, 2.7249, 9.3624)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282957 #575628
analogous
#284157 #282957 #3E2857
triadic
#282957 #572829 #295728
tetradic
#282957 #572841 #575628 #28573E
square
#282957 #572841 #575628 #28573E
split-complementary
#282957 #573E28 #415728
monochromatic
#0A0A15 #15152D #282957 #3B3D81 #4F51AB

Accessibility & contrast

On white

13.59
#282957 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#282957 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##282957#FFFFFF#000000##FFFFFF
##2829571.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)
#143059
Deuteranopia (green-blind)
#102C56
Tritanopia (blue-blind)
#16333B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #282957;
/* rgb */ color: rgb(40, 41, 87);
/* oklch */ color: oklch(30.6% 0.081 279.5);
Tailwind
colors: {
  custom: {
    50: '#666287',
    500: '#282957',
    950: '#000000',
  },
}
SCSS
$custom: #282957;
$custom-light: #666287;
$custom-dark: #000000;
JSON
{
  "hex": "#282957",
  "rgb": {
    "r": 40,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 238.723,
    "s": 37.008,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30643,
    "c": 0.08107,
    "h": 279.5
  },
  "luminance": 0.02725
}

Semantic roles & 50–950 ramp

primary
#282957
secondary
#8A8951
accent
#CB5BCD
background
#F6F5F8
surface
#EBEAEF
border
#C6C6CA
text
#06050B
muted
#7A797C

Preview Lab

Preview with #282957

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

Preview Lab → · Contrast checker → · Palette generator →

#282957 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva