#282EAF#282EAF

#282EAF is a dark, vivid blue. Relative luminance 0.055; OKLCH L 39.8% C 0.198 H 271.1°. Best body text is #FFFFFF at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#282EAF
RGBrgb(40, 46, 175)
HSLhsl(237, 63%, 42%)
HSVhsv(237, 77%, 69%)
CMYKcmyk(77.1%, 73.7%, 0%, 31.4%)
CIE-LABlab(28.11, 42.61, -68.49)
CIE-LCHlch(28.11, 80.67, 301.89°)
OKLaboklab(39.82% 0.0038 -0.1983)
OKLCHoklch(39.82% 0.198 271.1)
XYZxyz(9.5873, 5.4992, 41.1053)
Luminance0.0550 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#282EAF #AFA928
analogous
#2872AF #282EAF #6528AF
triadic
#282EAF #AF282E #2EAF28
tetradic
#282EAF #AF2872 #AFA928 #28AF65
square
#282EAF #AF2872 #AFA928 #28AF65
split-complementary
#282EAF #AF6528 #72AF28
monochromatic
#11144B #1D217D #282EAF #4147D4 #7377DF

Accessibility & contrast

On white

10.00
#282EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#282EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #282EAF
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##282EAF#FFFFFF#000000##FFFFFF
##282EAF1.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049B3
Deuteranopia (green-blind)
#003CAD
Tritanopia (blue-blind)
#00536C
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #282eaf;
/* rgb */ color: rgb(40, 46, 175);
/* oklch */ color: oklch(39.8% 0.198 271.1);
Tailwind
colors: {
  custom: {
    50: '#7968c8',
    500: '#282eaf',
    950: '#000000',
  },
}
SCSS
$custom: #282eaf;
$custom-light: #7968c8;
$custom-dark: #000000;
JSON
{
  "hex": "#282eaf",
  "rgb": {
    "r": 40,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 237.333,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39816,
    "c": 0.19835,
    "h": 271.1
  },
  "luminance": 0.055
}

Semantic roles & 50–950 ramp

primary
#282EAF
secondary
#C6C26D
accent
#DF42E6
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #282EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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