#2E28AF#2E28AF

#2E28AF is a dark, highly saturated blue. Relative luminance 0.052; OKLCH L 39.3% C 0.203 H 273.8°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).

Color values

HEX#2E28AF
RGBrgb(46, 40, 175)
HSLhsl(243, 63%, 42%)
HSVhsv(243, 77%, 69%)
CMYKcmyk(73.7%, 77.1%, 0%, 31.4%)
CIE-LABlab(27.28, 46.48, -69.86)
CIE-LCHlch(27.28, 83.91, 303.64°)
OKLaboklab(39.32% 0.0134 -0.2021)
OKLCHoklch(39.32% 0.203 273.8)
XYZxyz(9.6208, 5.1926, 41.0444)
Luminance0.0519 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E28AF #A9AF28
analogous
#2865AF #2E28AF #7228AF
triadic
#2E28AF #AF2E28 #28AF2E
tetradic
#2E28AF #AF2865 #A9AF28 #28AF72
square
#2E28AF #AF2865 #A9AF28 #28AF72
split-complementary
#2E28AF #AF7228 #65AF28
monochromatic
#14114B #211D7D #2E28AF #4741D4 #7773DF

Accessibility & contrast

On white

10.30
#2E28AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2E28AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E28AF
10.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E28AF#FFFFFF#000000##FFFFFF
##2E28AF1.0010.302.0410.30
#FFFFFF10.301.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0047B3
Deuteranopia (green-blind)
#003AAD
Tritanopia (blue-blind)
#00506A
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2e28af;
/* rgb */ color: rgb(46, 40, 175);
/* oklch */ color: oklch(39.3% 0.203 273.8);
Tailwind
colors: {
  custom: {
    50: '#7c65c8',
    500: '#2e28af',
    950: '#000000',
  },
}
SCSS
$custom: #2e28af;
$custom-light: #7c65c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e28af",
  "rgb": {
    "r": 46,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 242.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.39319,
    "c": 0.20255,
    "h": 273.8
  },
  "luminance": 0.05194
}

Semantic roles & 50–950 ramp

primary
#2E28AF
secondary
#C2C66D
accent
#E642DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2E28AF

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

Preview Lab → · Contrast checker → · Palette generator →

#2E28AF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva