#2F25BE#2F25BE

#2F25BE is a dark, highly saturated blue. Relative luminance 0.056; OKLCH L 40.7% C 0.222 H 273.2°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2F25BE
RGBrgb(47, 37, 190)
HSLhsl(244, 67%, 45%)
HSVhsv(244, 81%, 75%)
CMYKcmyk(75.3%, 80.5%, 0%, 25.5%)
CIE-LABlab(28.50, 52.79, -76.76)
CIE-LCHlch(28.50, 93.16, 304.52°)
OKLaboklab(40.68% 0.0123 -0.2221)
OKLCHoklch(40.68% 0.222 273.2)
XYZxyz(11.1250, 5.6440, 49.2083)
Luminance0.0565 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F25BE #B4BE25
analogous
#2567BE #2F25BE #7C25BE
triadic
#2F25BE #BE2F25 #25BE2F
tetradic
#2F25BE #BE2567 #B4BE25 #25BE7C
square
#2F25BE #BE2567 #B4BE25 #25BE7C
split-complementary
#2F25BE #BE7C25 #67BE25
monochromatic
#161158 #221B8B #2F25BE #4F45DB #8079E5

Accessibility & contrast

On white

9.86
#2F25BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2F25BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F25BE
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F25BE#FFFFFF#000000##FFFFFF
##2F25BE1.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AC2
Deuteranopia (green-blind)
#003CBB
Tritanopia (blue-blind)
#005572
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2f25be;
/* rgb */ color: rgb(47, 37, 190);
/* oklch */ color: oklch(40.7% 0.222 273.2);
Tailwind
colors: {
  custom: {
    50: '#8064d3',
    500: '#2f25be',
    950: '#000000',
  },
}
SCSS
$custom: #2f25be;
$custom-light: #8064d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f25be",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 190
  },
  "hsl": {
    "h": 243.922,
    "s": 67.401,
    "l": 44.51
  },
  "oklch": {
    "l": 0.4068,
    "c": 0.22242,
    "h": 273.2
  },
  "luminance": 0.05645
}

Semantic roles & 50–950 ramp

primary
#2F25BE
secondary
#C7CD72
accent
#EA3EDF
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0614
muted
#7D7A83

Preview Lab

Preview with #2F25BE

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

Preview Lab → · Contrast checker → · Palette generator →

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