#2F25B7#2F25B7

#2F25B7 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.9% C 0.214 H 273.7°. Best body text is #FFFFFF at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#2F25B7
RGBrgb(47, 37, 183)
HSLhsl(244, 66%, 43%)
HSVhsv(244, 80%, 72%)
CMYKcmyk(74.3%, 79.8%, 0%, 28.2%)
CIE-LABlab(27.70, 50.63, -73.94)
CIE-LCHlch(27.70, 89.62, 304.40°)
OKLaboklab(39.89% 0.014 -0.2139)
OKLCHoklch(39.89% 0.214 273.7)
XYZxyz(10.3783, 5.3453, 45.2754)
Luminance0.0535 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25B7 #ADB725
analogous
#2564B7 #2F25B7 #7825B7
triadic
#2F25B7 #B72F25 #25B72F
tetradic
#2F25B7 #B72564 #ADB725 #25B778
square
#2F25B7 #B72564 #ADB725 #25B778
split-complementary
#2F25B7 #B77825 #64B725
monochromatic
#151051 #221B84 #2F25B7 #4B41D9 #7B74E3

Accessibility & contrast

On white

10.15
#2F25B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.07
#2F25B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F25B7
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25B7#FFFFFF#000000##FFFFFF
##2F25B71.0010.152.0710.15
#FFFFFF10.151.0021.001.00
#0000002.0721.001.0021.00
##FFFFFF10.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BB
Deuteranopia (green-blind)
#003AB5
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f25b7;
/* rgb */ color: rgb(47, 37, 183);
/* oklch */ color: oklch(39.9% 0.214 273.7);
Tailwind
colors: {
  custom: {
    50: '#7e63ce',
    500: '#2f25b7',
    950: '#000000',
  },
}
SCSS
$custom: #2f25b7;
$custom-light: #7e63ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25b7",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 183
  },
  "hsl": {
    "h": 244.11,
    "s": 66.364,
    "l": 43.137
  },
  "oklch": {
    "l": 0.39891,
    "c": 0.21435,
    "h": 273.7
  },
  "luminance": 0.05346
}

Semantic roles & 50–950 ramp

primary
#2F25B7
secondary
#C4CA6E
accent
#E93FDE
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #2F25B7

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

Preview Lab → · Contrast checker → · Palette generator →

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