#2E25A2#2E25A2

#2E25A2 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 37.5% C 0.190 H 275.4°. Best body text is #FFFFFF at 11.04:1 contrast (WCAG AA passes).

Color values

HEX#2E25A2
RGBrgb(46, 37, 162)
HSLhsl(244, 63%, 39%)
HSVhsv(244, 77%, 64%)
CMYKcmyk(71.6%, 77.2%, 0%, 36.5%)
CIE-LABlab(25.30, 43.90, -65.29)
CIE-LCHlch(25.30, 78.68, 303.91°)
OKLaboklab(37.51% 0.0177 -0.1888)
OKLCHoklch(37.51% 0.19 275.4)
XYZxyz(8.3077, 4.5118, 34.6085)
Luminance0.0451 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25A2 #99A225
analogous
#255BA2 #2E25A2 #6D25A2
triadic
#2E25A2 #A22E25 #25A22E
tetradic
#2E25A2 #A2255B #99A225 #25A26D
square
#2E25A2 #A2255B #99A225 #25A26D
split-complementary
#2E25A2 #A26D25 #5BA225
monochromatic
#120E3E #201A70 #2E25A2 #3F34D1 #6E65DC

Accessibility & contrast

On white

11.04
#2E25A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E25A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25A2
11.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25A2#FFFFFF#000000##FFFFFF
##2E25A21.0011.041.9011.04
#FFFFFF11.041.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A6
Deuteranopia (green-blind)
#0036A0
Tritanopia (blue-blind)
#004A62
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e25a2;
/* rgb */ color: rgb(46, 37, 162);
/* oklch */ color: oklch(37.5% 0.190 275.4);
Tailwind
colors: {
  custom: {
    50: '#7962bf',
    500: '#2e25a2',
    950: '#000000',
  },
}
SCSS
$custom: #2e25a2;
$custom-light: #7962bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25a2",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 162
  },
  "hsl": {
    "h": 244.32,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.37508,
    "c": 0.18962,
    "h": 275.4
  },
  "luminance": 0.04513
}

Semantic roles & 50–950 ramp

primary
#2E25A2
secondary
#BBC261
accent
#E642DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #2E25A2

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

Preview Lab → · Contrast checker → · Palette generator →

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