#2F25B6#2F25B6

#2F25B6 is a dark, highly saturated blue. Relative luminance 0.053; OKLCH L 39.8% C 0.213 H 273.8°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#2F25B6
RGBrgb(47, 37, 182)
HSLhsl(244, 66%, 43%)
HSVhsv(244, 80%, 71%)
CMYKcmyk(74.2%, 79.7%, 0%, 28.6%)
CIE-LABlab(27.58, 50.32, -73.53)
CIE-LCHlch(27.58, 89.10, 304.39°)
OKLaboklab(39.78% 0.0143 -0.2127)
OKLCHoklch(39.78% 0.213 273.8)
XYZxyz(10.2745, 5.3038, 44.7292)
Luminance0.0530 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25B6 #ACB625
analogous
#2563B6 #2F25B6 #7725B6
triadic
#2F25B6 #B62F25 #25B62F
tetradic
#2F25B6 #B62563 #ACB625 #25B677
square
#2F25B6 #B62563 #ACB625 #25B677
split-complementary
#2F25B6 #B67725 #63B625
monochromatic
#151050 #221B83 #2F25B6 #4B40D8 #7B73E3

Accessibility & contrast

On white

10.19
#2F25B6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#2F25B6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F25B6
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25B6#FFFFFF#000000##FFFFFF
##2F25B61.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0048BA
Deuteranopia (green-blind)
#003AB4
Tritanopia (blue-blind)
#00526E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2f25b6;
/* rgb */ color: rgb(47, 37, 182);
/* oklch */ color: oklch(39.8% 0.213 273.8);
Tailwind
colors: {
  custom: {
    50: '#7e63cd',
    500: '#2f25b6',
    950: '#000000',
  },
}
SCSS
$custom: #2f25b6;
$custom-light: #7e63cd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25b6",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 182
  },
  "hsl": {
    "h": 244.138,
    "s": 66.21,
    "l": 42.941
  },
  "oklch": {
    "l": 0.39779,
    "c": 0.21319,
    "h": 273.8
  },
  "luminance": 0.05305
}

Semantic roles & 50–950 ramp

primary
#2F25B6
secondary
#C3CA6D
accent
#E93FDD
background
#F8F6FC
surface
#F0EBF9
border
#CBC6D2
text
#0C0514
muted
#7D7A82

Preview Lab

Preview with #2F25B6

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

Preview Lab → · Contrast checker → · Palette generator →

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