#2826AF#2826AF

#2826AF is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.206 H 271.9°. Best body text is #FFFFFF at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#2826AF
RGBrgb(40, 38, 175)
HSLhsl(241, 64%, 42%)
HSVhsv(241, 78%, 69%)
CMYKcmyk(77.1%, 78.3%, 0%, 31.4%)
CIE-LABlab(26.54, 47.07, -71.09)
CIE-LCHlch(26.54, 85.27, 303.51°)
OKLaboklab(38.7% 0.007 -0.2058)
OKLCHoklch(38.7% 0.206 271.9)
XYZxyz(9.3034, 4.9315, 41.0107)
Luminance0.0493 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2826AF #ADAF26
analogous
#2669AF #2826AF #6D26AF
triadic
#2826AF #AF2826 #26AF28
tetradic
#2826AF #AF2669 #ADAF26 #26AF6D
square
#2826AF #AF2669 #ADAF26 #26AF6D
split-complementary
#2826AF #AF6D26 #69AF26
monochromatic
#11104A #1D1B7D #2826AF #3F3DD5 #7170E0

Accessibility & contrast

On white

10.57
#2826AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2826AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2826AF
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2826AF#FFFFFF#000000##FFFFFF
##2826AF1.0010.571.9910.57
#FFFFFF10.571.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0038AD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2826af;
/* rgb */ color: rgb(40, 38, 175);
/* oklch */ color: oklch(38.7% 0.206 271.9);
Tailwind
colors: {
  custom: {
    50: '#7a63c8',
    500: '#2826af',
    950: '#000000',
  },
}
SCSS
$custom: #2826af;
$custom-light: #7a63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2826af",
  "rgb": {
    "r": 40,
    "g": 38,
    "b": 175
  },
  "hsl": {
    "h": 240.876,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38703,
    "c": 0.20591,
    "h": 271.9
  },
  "luminance": 0.04932
}

Semantic roles & 50–950 ramp

primary
#2826AF
secondary
#C5C76A
accent
#E740E5
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2826AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2826AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva