#2F25B1#2F25B1

#2F25B1 is a dark, highly saturated blue. Relative luminance 0.051; OKLCH L 39.2% C 0.207 H 274.3°. Best body text is #FFFFFF at 10.39:1 contrast (WCAG AA passes).

Color values

HEX#2F25B1
RGBrgb(47, 37, 177)
HSLhsl(244, 65%, 42%)
HSVhsv(244, 79%, 69%)
CMYKcmyk(73.4%, 79.1%, 0%, 30.6%)
CIE-LABlab(27.02, 48.76, -71.48)
CIE-LCHlch(27.02, 86.53, 304.30°)
OKLaboklab(39.22% 0.0155 -0.2067)
OKLCHoklch(39.22% 0.207 274.3)
XYZxyz(9.7670, 5.1008, 42.0563)
Luminance0.0510 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25B1 #A7B125
analogous
#2561B1 #2F25B1 #7525B1
triadic
#2F25B1 #B12F25 #25B12F
tetradic
#2F25B1 #B12561 #A7B125 #25B175
square
#2F25B1 #B12561 #A7B125 #25B175
split-complementary
#2F25B1 #B17525 #61B125
monochromatic
#14104C #221A7E #2F25B1 #483DD6 #786FE1

Accessibility & contrast

On white

10.39
#2F25B1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#2F25B1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F25B1
10.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25B1#FFFFFF#000000##FFFFFF
##2F25B11.0010.392.0210.39
#FFFFFF10.391.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0046B5
Deuteranopia (green-blind)
#0039AF
Tritanopia (blue-blind)
#00506B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f25b1;
/* rgb */ color: rgb(47, 37, 177);
/* oklch */ color: oklch(39.2% 0.207 274.3);
Tailwind
colors: {
  custom: {
    50: '#7d63ca',
    500: '#2f25b1',
    950: '#000000',
  },
}
SCSS
$custom: #2f25b1;
$custom-light: #7d63ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25b1",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 177
  },
  "hsl": {
    "h": 244.286,
    "s": 65.421,
    "l": 41.961
  },
  "oklch": {
    "l": 0.39222,
    "c": 0.20733,
    "h": 274.3
  },
  "luminance": 0.05102
}

Semantic roles & 50–950 ramp

primary
#2F25B1
secondary
#C1C86A
accent
#E83FDC
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0B0513
muted
#7C7A82

Preview Lab

Preview with #2F25B1

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

Preview Lab → · Contrast checker → · Palette generator →

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