#2F25AF#2F25AF

#2F25AF is a dark, highly saturated blue. Relative luminance 0.050; OKLCH L 39.0% C 0.205 H 274.5°. Best body text is #FFFFFF at 10.48:1 contrast (WCAG AA passes).

Color values

HEX#2F25AF
RGBrgb(47, 37, 175)
HSLhsl(244, 65%, 42%)
HSVhsv(244, 79%, 69%)
CMYKcmyk(73.1%, 78.9%, 0%, 31.4%)
CIE-LABlab(26.80, 48.14, -70.65)
CIE-LCHlch(26.80, 85.49, 304.27°)
OKLaboklab(39% 0.0159 -0.2043)
OKLCHoklch(39% 0.205 274.5)
XYZxyz(9.5692, 5.0217, 41.0141)
Luminance0.0502 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25AF #A5AF25
analogous
#2560AF #2F25AF #7425AF
triadic
#2F25AF #AF2F25 #25AF2F
tetradic
#2F25AF #AF2560 #A5AF25 #25AF74
square
#2F25AF #AF2560 #A5AF25 #25AF74
split-complementary
#2F25AF #AF7425 #60AF25
monochromatic
#14104A #211A7C #2F25AF #473CD6 #766EE0

Accessibility & contrast

On white

10.48
#2F25AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F25AF
10.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25AF#FFFFFF#000000##FFFFFF
##2F25AF1.0010.482.0010.48
#FFFFFF10.481.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0045B3
Deuteranopia (green-blind)
#0039AD
Tritanopia (blue-blind)
#004F6A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f25af;
/* rgb */ color: rgb(47, 37, 175);
/* oklch */ color: oklch(39.0% 0.205 274.5);
Tailwind
colors: {
  custom: {
    50: '#7c63c8',
    500: '#2f25af',
    950: '#000000',
  },
}
SCSS
$custom: #2f25af;
$custom-light: #7c63c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25af",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 175
  },
  "hsl": {
    "h": 244.348,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.39,
    "c": 0.20497,
    "h": 274.5
  },
  "luminance": 0.05023
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F25AF

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

Preview Lab → · Contrast checker → · Palette generator →

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