#2E25AF#2E25AF

#2E25AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.205 H 274.1°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#2E25AF
RGBrgb(46, 37, 175)
HSLhsl(244, 65%, 42%)
HSVhsv(244, 79%, 69%)
CMYKcmyk(73.7%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.73, 48.05, -70.77)
CIE-LCHlch(26.73, 85.54, 304.18°)
OKLaboklab(38.93% 0.0147 -0.2047)
OKLCHoklch(38.93% 0.205 274.1)
XYZxyz(9.5236, 4.9982, 41.0120)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25AF #A6AF25
analogous
#2561AF #2E25AF #7325AF
triadic
#2E25AF #AF2E25 #25AF2E
tetradic
#2E25AF #AF2561 #A6AF25 #25AF73
square
#2E25AF #AF2561 #A6AF25 #25AF73
split-complementary
#2E25AF #AF7325 #61AF25
monochromatic
#13104A #211A7C #2E25AF #463CD6 #766EE0

Accessibility & contrast

On white

10.50
#2E25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2E25AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25AF
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25AF#FFFFFF#000000##FFFFFF
##2E25AF1.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e25af;
/* rgb */ color: rgb(46, 37, 175);
/* oklch */ color: oklch(38.9% 0.205 274.1);
Tailwind
colors: {
  custom: {
    50: '#7c63c8',
    500: '#2e25af',
    950: '#000000',
  },
}
SCSS
$custom: #2e25af;
$custom-light: #7c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25af",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 243.913,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.38935,
    "c": 0.20522,
    "h": 274.1
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#2E25AF
secondary
#C1C769
accent
#E840DD
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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