#2F25BB#2F25BB

#2F25BB is a dark, highly saturated blue. Relative luminance 0.055; OKLCH L 40.3% C 0.219 H 273.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2F25BB
RGBrgb(47, 37, 187)
HSLhsl(244, 67%, 44%)
HSVhsv(244, 80%, 73%)
CMYKcmyk(74.9%, 80.2%, 0%, 26.7%)
CIE-LABlab(28.15, 51.87, -75.56)
CIE-LCHlch(28.15, 91.65, 304.47°)
OKLaboklab(40.34% 0.0131 -0.2186)
OKLCHoklch(40.34% 0.219 273.4)
XYZxyz(10.8005, 5.5142, 47.4992)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25BB #B1BB25
analogous
#2566BB #2F25BB #7A25BB
triadic
#2F25BB #BB2F25 #25BB2F
tetradic
#2F25BB #BB2566 #B1BB25 #25BB7A
square
#2F25BB #BB2566 #B1BB25 #25BB7A
split-complementary
#2F25BB #BB7A25 #66BB25
monochromatic
#151155 #221B88 #2F25BB #4D43DA #7E76E4

Accessibility & contrast

On white

9.99
#2F25BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2F25BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F25BB
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25BB#FFFFFF#000000##FFFFFF
##2F25BB1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.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: #2f25bb;
/* rgb */ color: rgb(47, 37, 187);
/* oklch */ color: oklch(40.3% 0.219 273.4);
Tailwind
colors: {
  custom: {
    50: '#7f64d1',
    500: '#2f25bb',
    950: '#000000',
  },
}
SCSS
$custom: #2f25bb;
$custom-light: #7f64d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25bb",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 187
  },
  "hsl": {
    "h": 244,
    "s": 66.964,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40341,
    "c": 0.21898,
    "h": 273.4
  },
  "luminance": 0.05515
}

Semantic roles & 50–950 ramp

primary
#2F25BB
secondary
#C5CB70
accent
#EA3EDE
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F25BB

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

Preview Lab → · Contrast checker → · Palette generator →

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