#2D25B0#2D25B0

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

Color values

HEX#2D25B0
RGBrgb(45, 37, 176)
HSLhsl(243, 65%, 42%)
HSVhsv(243, 79%, 69%)
CMYKcmyk(74.4%, 79%, 0%, 31%)
CIE-LABlab(26.78, 48.29, -71.29)
CIE-LCHlch(26.78, 86.11, 304.11°)
OKLaboklab(38.98% 0.0132 -0.2062)
OKLCHoklch(38.98% 0.207 273.6)
XYZxyz(9.5776, 5.0146, 41.5290)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25B0 #A8B025
analogous
#2563B0 #2D25B0 #7325B0
triadic
#2D25B0 #B02D25 #25B02D
tetradic
#2D25B0 #B02563 #A8B025 #25B073
square
#2D25B0 #B02563 #A8B025 #25B073
split-complementary
#2D25B0 #B07325 #63B025
monochromatic
#13104B #201A7D #2D25B0 #453CD6 #756FE1

Accessibility & contrast

On white

10.48
#2D25B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D25B0
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25B0#FFFFFF#000000##FFFFFF
##2D25B01.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d25b0;
/* rgb */ color: rgb(45, 37, 176);
/* oklch */ color: oklch(39.0% 0.207 273.6);
Tailwind
colors: {
  custom: {
    50: '#7c63c9',
    500: '#2d25b0',
    950: '#000000',
  },
}
SCSS
$custom: #2d25b0;
$custom-light: #7c63c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25b0",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 176
  },
  "hsl": {
    "h": 243.453,
    "s": 65.258,
    "l": 41.765
  },
  "oklch": {
    "l": 0.38984,
    "c": 0.20666,
    "h": 273.6
  },
  "luminance": 0.05016
}

Semantic roles & 50–950 ramp

primary
#2D25B0
secondary
#C2C76A
accent
#E840DF
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2D25B0

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

Preview Lab → · Contrast checker → · Palette generator →

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