#282BA5#282BA5

#282BA5 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 38.3% C 0.189 H 272.1°. Best body text is #FFFFFF at 10.61:1 contrast (WCAG AA passes).

Color values

HEX#282BA5
RGBrgb(40, 43, 165)
HSLhsl(239, 61%, 40%)
HSVhsv(239, 76%, 65%)
CMYKcmyk(75.8%, 73.9%, 0%, 35.3%)
CIE-LABlab(26.43, 40.94, -65.25)
CIE-LCHlch(26.43, 77.03, 302.11°)
OKLaboklab(38.31% 0.0068 -0.1888)
OKLCHoklch(38.31% 0.189 272.1)
XYZxyz(8.5282, 4.8946, 36.0853)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282BA5 #A5A228
analogous
#2869A5 #282BA5 #6328A5
triadic
#282BA5 #A5282B #2BA528
tetradic
#282BA5 #A52869 #A5A228 #28A563
square
#282BA5 #A52869 #A5A228 #28A563
split-complementary
#282BA5 #A56328 #69A528
monochromatic
#101142 #1C1E74 #282BA5 #3B3ECF #6C6FDB

Accessibility & contrast

On white

10.61
#282BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#282BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282BA5
10.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282BA5#FFFFFF#000000##FFFFFF
##282BA51.0010.611.9810.61
#FFFFFF10.611.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045A9
Deuteranopia (green-blind)
#0038A3
Tritanopia (blue-blind)
#004E65
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #282ba5;
/* rgb */ color: rgb(40, 43, 165);
/* oklch */ color: oklch(38.3% 0.189 272.1);
Tailwind
colors: {
  custom: {
    50: '#7766c1',
    500: '#282ba5',
    950: '#000000',
  },
}
SCSS
$custom: #282ba5;
$custom-light: #7766c1;
$custom-dark: #000000;
JSON
{
  "hex": "#282ba5",
  "rgb": {
    "r": 40,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 238.56,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38306,
    "c": 0.18896,
    "h": 272.1
  },
  "luminance": 0.04895
}

Semantic roles & 50–950 ramp

primary
#282BA5
secondary
#C2C067
accent
#E044E4
background
#F7F6FC
surface
#EEEBF8
border
#C9C6D1
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #282BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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