#282267#282267

#282267 is a dark, moderate blue. Relative luminance 0.026; OKLCH L 30.6% C 0.116 H 280.9°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#282267
RGBrgb(40, 34, 103)
HSLhsl(245, 50%, 27%)
HSVhsv(245, 67%, 40%)
CMYKcmyk(61.2%, 67%, 0%, 59.6%)
CIE-LABlab(18.25, 24.74, -39.73)
CIE-LCHlch(18.25, 46.81, 301.91°)
OKLaboklab(30.56% 0.022 -0.1142)
OKLCHoklch(30.56% 0.116 280.9)
XYZxyz(3.8945, 2.5742, 13.1210)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282267 #616722
analogous
#223F67 #282267 #4B2267
triadic
#282267 #672822 #226728
tetradic
#282267 #67223F #616722 #22674B
square
#282267 #67223F #616722 #22674B
split-complementary
#282267 #674B22 #3F6722
monochromatic
#090817 #161339 #282267 #3A3195 #4E43C1

Accessibility & contrast

On white

13.86
#282267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#282267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282267
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282267#FFFFFF#000000##FFFFFF
##2822671.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002A66
Tritanopia (blue-blind)
#043341
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #282267;
/* rgb */ color: rgb(40, 34, 103);
/* oklch */ color: oklch(30.6% 0.116 280.9);
Tailwind
colors: {
  custom: {
    50: '#695d93',
    500: '#282267',
    950: '#000000',
  },
}
SCSS
$custom: #282267;
$custom-light: #695d93;
$custom-dark: #000000;
JSON
{
  "hex": "#282267",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 245.217,
    "s": 50.365,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30559,
    "c": 0.11634,
    "h": 280.9
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#282267
secondary
#949B4A
accent
#DA4ECE
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #282267

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

Preview Lab → · Contrast checker → · Palette generator →

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