#2D25BB#2D25BB

#2D25BB is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.2% C 0.220 H 272.8°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#2D25BB
RGBrgb(45, 37, 187)
HSLhsl(243, 67%, 44%)
HSVhsv(243, 80%, 73%)
CMYKcmyk(75.9%, 80.2%, 0%, 26.7%)
CIE-LABlab(28.03, 51.73, -75.77)
CIE-LCHlch(28.03, 91.74, 304.32°)
OKLaboklab(40.22% 0.0106 -0.2192)
OKLCHoklch(40.22% 0.22 272.8)
XYZxyz(10.7104, 5.4677, 47.4950)
Luminance0.0547 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D25BB #B3BB25
analogous
#2568BB #2D25BB #7825BB
triadic
#2D25BB #BB2D25 #25BB2D
tetradic
#2D25BB #BB2568 #B3BB25 #25BB78
square
#2D25BB #BB2568 #B3BB25 #25BB78
split-complementary
#2D25BB #BB7825 #68BB25
monochromatic
#141155 #211B88 #2D25BB #4B43DA #7C76E4

Accessibility & contrast

On white

10.03
#2D25BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#2D25BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D25BB
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D25BB#FFFFFF#000000##FFFFFF
##2D25BB1.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0049BF
Deuteranopia (green-blind)
#003BB8
Tritanopia (blue-blind)
#005471
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d25bb;
/* rgb */ color: rgb(45, 37, 187);
/* oklch */ color: oklch(40.2% 0.220 272.8);
Tailwind
colors: {
  custom: {
    50: '#7f64d1',
    500: '#2d25bb',
    950: '#000000',
  },
}
SCSS
$custom: #2d25bb;
$custom-light: #7f64d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2d25bb",
  "rgb": {
    "r": 45,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 243.2,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40221,
    "c": 0.2195,
    "h": 272.8
  },
  "luminance": 0.05469
}

Semantic roles & 50–950 ramp

primary
#2D25BB
secondary
#C7CB70
accent
#EA3EE1
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2D25BB

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

Preview Lab → · Contrast checker → · Palette generator →

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