#282265#282265

#282265 is a dark, moderate blue. Relative luminance 0.025; OKLCH L 30.4% C 0.113 H 281.3°. Best body text is #FFFFFF at 13.93:1 contrast (WCAG AA passes).

Color values

HEX#282265
RGBrgb(40, 34, 101)
HSLhsl(245, 50%, 26%)
HSVhsv(245, 66%, 40%)
CMYKcmyk(60.4%, 66.3%, 0%, 60.4%)
CIE-LABlab(18.07, 24.03, -38.71)
CIE-LCHlch(18.07, 45.56, 301.83°)
OKLaboklab(30.37% 0.0222 -0.1112)
OKLCHoklch(30.37% 0.113 281.3)
XYZxyz(3.7953, 2.5345, 12.5986)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282265 #5F6522
analogous
#223E65 #282265 #4A2265
triadic
#282265 #652822 #226528
tetradic
#282265 #65223E #5F6522 #22654A
square
#282265 #65223E #5F6522 #22654A
split-complementary
#282265 #654A22 #3E6522
monochromatic
#090817 #161337 #282265 #3A3193 #4D42BF

Accessibility & contrast

On white

13.93
#282265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #282265
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282265#FFFFFF#000000##FFFFFF
##2822651.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F67
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#073240
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #282265;
/* rgb */ color: rgb(40, 34, 101);
/* oklch */ color: oklch(30.4% 0.113 281.3);
Tailwind
colors: {
  custom: {
    50: '#695d91',
    500: '#282265',
    950: '#000000',
  },
}
SCSS
$custom: #282265;
$custom-light: #695d91;
$custom-dark: #000000;
JSON
{
  "hex": "#282265",
  "rgb": {
    "r": 40,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 245.373,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30374,
    "c": 0.11342,
    "h": 281.3
  },
  "luminance": 0.02535
}

Semantic roles & 50–950 ramp

primary
#282265
secondary
#92994A
accent
#D94FCD
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #282265

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

Preview Lab → · Contrast checker → · Palette generator →

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