#2E25AA#2E25AA

#2E25AA is a dark, vivid blue. Relative luminance 0.048; OKLCH L 38.4% C 0.199 H 274.6°. Best body text is #FFFFFF at 10.71:1 contrast (WCAG AA passes).

Color values

HEX#2E25AA
RGBrgb(46, 37, 170)
HSLhsl(244, 64%, 41%)
HSVhsv(244, 78%, 67%)
CMYKcmyk(72.9%, 78.2%, 0%, 33.3%)
CIE-LABlab(26.17, 46.47, -68.68)
CIE-LCHlch(26.17, 82.92, 304.08°)
OKLaboklab(38.38% 0.0158 -0.1986)
OKLCHoklch(38.38% 0.199 274.6)
XYZxyz(9.0416, 4.8054, 38.4734)
Luminance0.0481 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E25AA #A1AA25
analogous
#255EAA #2E25AA #7025AA
triadic
#2E25AA #AA2E25 #25AA2E
tetradic
#2E25AA #AA255E #A1AA25 #25AA70
square
#2E25AA #AA255E #A1AA25 #25AA70
split-complementary
#2E25AA #AA7025 #5EAA25
monochromatic
#130F45 #201A78 #2E25AA #4338D4 #736BDF

Accessibility & contrast

On white

10.71
#2E25AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2E25AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E25AA
10.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E25AA#FFFFFF#000000##FFFFFF
##2E25AA1.0010.711.9610.71
#FFFFFF10.711.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0044AE
Deuteranopia (green-blind)
#0038A8
Tritanopia (blue-blind)
#004D67
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2e25aa;
/* rgb */ color: rgb(46, 37, 170);
/* oklch */ color: oklch(38.4% 0.199 274.6);
Tailwind
colors: {
  custom: {
    50: '#7b63c5',
    500: '#2e25aa',
    950: '#000000',
  },
}
SCSS
$custom: #2e25aa;
$custom-light: #7b63c5;
$custom-dark: #000000;
JSON
{
  "hex": "#2e25aa",
  "rgb": {
    "r": 46,
    "g": 37,
    "b": 170
  },
  "hsl": {
    "h": 244.06,
    "s": 64.251,
    "l": 40.588
  },
  "oklch": {
    "l": 0.38382,
    "c": 0.19928,
    "h": 274.6
  },
  "luminance": 0.04806
}

Semantic roles & 50–950 ramp

primary
#2E25AA
secondary
#BEC566
accent
#E741DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2E25AA

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

Preview Lab → · Contrast checker → · Palette generator →

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