#2F25AC#2F25AC

#2F25AC is a dark, highly saturated blue. Relative luminance 0.049; OKLCH L 38.7% C 0.201 H 274.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#2F25AC
RGBrgb(47, 37, 172)
HSLhsl(244, 65%, 41%)
HSVhsv(244, 78%, 67%)
CMYKcmyk(72.7%, 78.5%, 0%, 32.5%)
CIE-LABlab(26.46, 47.19, -69.40)
CIE-LCHlch(26.46, 83.93, 304.21°)
OKLaboklab(38.67% 0.0167 -0.2007)
OKLCHoklch(38.67% 0.201 274.7)
XYZxyz(9.2778, 4.9051, 39.4796)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25AC #A2AC25
analogous
#255FAC #2F25AC #7225AC
triadic
#2F25AC #AC2F25 #25AC2F
tetradic
#2F25AC #AC255F #A2AC25 #25AC72
square
#2F25AC #AC255F #A2AC25 #25AC72
split-complementary
#2F25AC #AC7225 #5FAC25
monochromatic
#130F47 #211A7A #2F25AC #453AD5 #756CDF

Accessibility & contrast

On white

10.60
#2F25AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2F25AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F25AC
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25AC#FFFFFF#000000##FFFFFF
##2F25AC1.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B0
Deuteranopia (green-blind)
#0038AA
Tritanopia (blue-blind)
#004E68
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f25ac;
/* rgb */ color: rgb(47, 37, 172);
/* oklch */ color: oklch(38.7% 0.201 274.7);
Tailwind
colors: {
  custom: {
    50: '#7c63c6',
    500: '#2f25ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f25ac;
$custom-light: #7c63c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25ac",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 172
  },
  "hsl": {
    "h": 244.444,
    "s": 64.593,
    "l": 40.98
  },
  "oklch": {
    "l": 0.38668,
    "c": 0.20141,
    "h": 274.7
  },
  "luminance": 0.04906
}

Semantic roles & 50–950 ramp

primary
#2F25AC
secondary
#BFC667
accent
#E840DB
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F25AC

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

Preview Lab → · Contrast checker → · Palette generator →

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