#2F25AE#2F25AE

#2F25AE is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 38.9% C 0.204 H 274.6°. Best body text is #FFFFFF at 10.52:1 contrast (WCAG AA passes).

Color values

HEX#2F25AE
RGBrgb(47, 37, 174)
HSLhsl(244, 65%, 41%)
HSVhsv(244, 79%, 68%)
CMYKcmyk(73%, 78.7%, 0%, 31.8%)
CIE-LABlab(26.68, 47.82, -70.24)
CIE-LCHlch(26.68, 84.97, 304.25°)
OKLaboklab(38.89% 0.0162 -0.2031)
OKLCHoklch(38.89% 0.204 274.6)
XYZxyz(9.4713, 4.9825, 40.4988)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25AE #A4AE25
analogous
#2560AE #2F25AE #7425AE
triadic
#2F25AE #AE2F25 #25AE2F
tetradic
#2F25AE #AE2560 #A4AE25 #25AE74
square
#2F25AE #AE2560 #A4AE25 #25AE74
split-complementary
#2F25AE #AE7425 #60AE25
monochromatic
#141049 #211A7C #2F25AE #463BD5 #766DE0

Accessibility & contrast

On white

10.52
#2F25AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F25AE
10.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25AE#FFFFFF#000000##FFFFFF
##2F25AE1.0010.522.0010.52
#FFFFFF10.521.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B2
Deuteranopia (green-blind)
#0039AC
Tritanopia (blue-blind)
#004F69
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f25ae;
/* rgb */ color: rgb(47, 37, 174);
/* oklch */ color: oklch(38.9% 0.204 274.6);
Tailwind
colors: {
  custom: {
    50: '#7c63c8',
    500: '#2f25ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f25ae;
$custom-light: #7c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25ae",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 174
  },
  "hsl": {
    "h": 244.38,
    "s": 64.929,
    "l": 41.373
  },
  "oklch": {
    "l": 0.38889,
    "c": 0.20378,
    "h": 274.6
  },
  "luminance": 0.04983
}

Semantic roles & 50–950 ramp

primary
#2F25AE
secondary
#C0C668
accent
#E840DC
background
#F8F6FC
surface
#EFEBF8
border
#CAC6D1
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F25AE

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

Preview Lab → · Contrast checker → · Palette generator →

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