#282BEF#282BEF

#282BEF is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 46.6% C 0.274 H 268.6°. Best body text is #FFFFFF at 7.83:1 contrast (WCAG AA passes).

Color values

HEX#282BEF
RGBrgb(40, 43, 239)
HSLhsl(239, 86%, 55%)
HSVhsv(239, 83%, 94%)
CMYKcmyk(83.3%, 82%, 0%, 6.3%)
CIE-LABlab(34.82, 64.38, -94.60)
CIE-LCHlch(34.82, 114.43, 304.24°)
OKLaboklab(46.62% -0.0068 -0.2739)
OKLCHoklch(46.62% 0.274 268.6)
XYZxyz(17.3136, 8.4087, 82.3551)
Luminance0.0841 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BEF #EFEC28
analogous
#288FEF #282BEF #8828EF
triadic
#282BEF #EF282B #2BEF28
tetradic
#282BEF #EF288F #EFEC28 #28EF88
square
#282BEF #EF288F #EFEC28 #28EF88
split-complementary
#282BEF #EF8828 #8FEF28
monochromatic
#0B0D92 #0F12CB #282BEF #6163F3 #9A9BF7

Accessibility & contrast

On white

7.83
#282BEF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#282BEF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BEF
7.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BEF#FFFFFF#000000##FFFFFF
##282BEF1.007.832.687.83
#FFFFFF7.831.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CF4
Deuteranopia (green-blind)
#0047EC
Tritanopia (blue-blind)
#006B90
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #282bef;
/* rgb */ color: rgb(40, 43, 239);
/* oklch */ color: oklch(46.6% 0.274 268.6);
Tailwind
colors: {
  custom: {
    50: '#896af6',
    500: '#282bef',
    950: '#000000',
  },
}
SCSS
$custom: #282bef;
$custom-light: #896af6;
$custom-dark: #000000;
JSON
{
  "hex": "#282bef",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 239
  },
  "hsl": {
    "h": 239.095,
    "s": 86.147,
    "l": 54.706
  },
  "oklch": {
    "l": 0.46616,
    "c": 0.274,
    "h": 268.6
  },
  "luminance": 0.08411
}

Semantic roles & 50–950 ramp

primary
#282BEF
secondary
#E3E28F
accent
#F92BFC
background
#F9F6FF
surface
#F2EBFF
border
#CCC6D7
text
#0E0717
muted
#7E7A85

Preview Lab

Preview with #282BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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