#2E25A0#2E25A0

#2E25A0 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 37.3% C 0.187 H 275.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2E25A0
RGBrgb(46, 37, 160)
HSLhsl(244, 62%, 39%)
HSVhsv(244, 77%, 63%)
CMYKcmyk(71.2%, 76.9%, 0%, 37.3%)
CIE-LABlab(25.08, 43.25, -64.43)
CIE-LCHlch(25.08, 77.60, 303.87°)
OKLaboklab(37.29% 0.0181 -0.1863)
OKLCHoklch(37.29% 0.187 275.6)
XYZxyz(8.1314, 4.4413, 33.6796)
Luminance0.0444 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25A0 #97A025
analogous
#2559A0 #2E25A0 #6B25A0
triadic
#2E25A0 #A02E25 #25A02E
tetradic
#2E25A0 #A02559 #97A025 #25A06B
square
#2E25A0 #A02559 #97A025 #25A06B
split-complementary
#2E25A0 #A06B25 #59A025
monochromatic
#110E3D #201A6E #2E25A0 #3E32D0 #6D64DB

Accessibility & contrast

On white

11.12
#2E25A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2E25A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25A0
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25A0#FFFFFF#000000##FFFFFF
##2E25A01.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0041A4
Deuteranopia (green-blind)
#00369E
Tritanopia (blue-blind)
#004961
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2e25a0;
/* rgb */ color: rgb(46, 37, 160);
/* oklch */ color: oklch(37.3% 0.187 275.6);
Tailwind
colors: {
  custom: {
    50: '#7962bd',
    500: '#2e25a0',
    950: '#000000',
  },
}
SCSS
$custom: #2e25a0;
$custom-light: #7962bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25a0",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 160
  },
  "hsl": {
    "h": 244.39,
    "s": 62.437,
    "l": 38.627
  },
  "oklch": {
    "l": 0.37291,
    "c": 0.18717,
    "h": 275.6
  },
  "luminance": 0.04442
}

Semantic roles & 50–950 ramp

primary
#2E25A0
secondary
#BAC160
accent
#E642DA
background
#F8F5FB
surface
#EFEAF7
border
#CAC6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2E25A0

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

Preview Lab → · Contrast checker → · Palette generator →

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