#2E25B0#2E25B0

#2E25B0 is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.206 H 274.0°. Best body text is #FFFFFF at 10.46:1 contrast (WCAG AA passes).

Color values

HEX#2E25B0
RGBrgb(46, 37, 176)
HSLhsl(244, 65%, 42%)
HSVhsv(244, 79%, 69%)
CMYKcmyk(73.9%, 79%, 0%, 31%)
CIE-LABlab(26.84, 48.37, -71.18)
CIE-LCHlch(26.84, 86.06, 304.20°)
OKLaboklab(39.05% 0.0144 -0.2059)
OKLCHoklch(39.05% 0.206 274)
XYZxyz(9.6222, 5.0376, 41.5311)
Luminance0.0504 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25B0 #A7B025
analogous
#2562B0 #2E25B0 #7425B0
triadic
#2E25B0 #B02E25 #25B02E
tetradic
#2E25B0 #B02562 #A7B025 #25B074
square
#2E25B0 #B02562 #A7B025 #25B074
split-complementary
#2E25B0 #B07425 #62B025
monochromatic
#14104B #211A7D #2E25B0 #463CD6 #766FE1

Accessibility & contrast

On white

10.46
#2E25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2E25B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25B0
10.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25B0#FFFFFF#000000##FFFFFF
##2E25B01.0010.462.0110.46
#FFFFFF10.461.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B4
Deuteranopia (green-blind)
#0039AE
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e25b0;
/* rgb */ color: rgb(46, 37, 176);
/* oklch */ color: oklch(39.0% 0.206 274.0);
Tailwind
colors: {
  custom: {
    50: '#7c63c9',
    500: '#2e25b0',
    950: '#000000',
  },
}
SCSS
$custom: #2e25b0;
$custom-light: #7c63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25b0",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 243.885,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.39047,
    "c": 0.2064,
    "h": 274
  },
  "luminance": 0.05039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2E25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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