#2F59E2#2F59E2

#2F59E2 is a mid, highly saturated blue. Relative luminance 0.132; OKLCH L 52.3% C 0.213 H 265.9°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#2F59E2
RGBrgb(47, 89, 226)
HSLhsl(226, 76%, 54%)
HSVhsv(226, 79%, 89%)
CMYKcmyk(79.2%, 60.6%, 0%, 11.4%)
CIE-LABlab(43.12, 34.77, -73.53)
CIE-LCHlch(43.12, 81.34, 295.31°)
OKLaboklab(52.28% -0.0151 -0.2127)
OKLCHoklch(52.28% 0.213 265.9)
XYZxyz(18.4673, 13.2379, 73.5186)
Luminance0.1324 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F59E2 #E2B82F
analogous
#2FB2E2 #2F59E2 #5E2FE2
triadic
#2F59E2 #E22F59 #59E22F
tetradic
#2F59E2 #E22FB2 #E2B82F #2FE25E
square
#2F59E2 #E22FB2 #E2B82F #2FE25E
split-complementary
#2F59E2 #E25E2F #B2E22F
monochromatic
#122D84 #1A3FBA #2F59E2 #6584E9 #9AAFF1

Accessibility & contrast

On white

5.76
#2F59E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#2F59E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2F59E2
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F59E2#FFFFFF#000000##FFFFFF
##2F59E21.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EE6
Deuteranopia (green-blind)
#005EDF
Tritanopia (blue-blind)
#007C95
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #2f59e2;
/* rgb */ color: rgb(47, 89, 226);
/* oklch */ color: oklch(52.3% 0.213 265.9);
Tailwind
colors: {
  custom: {
    50: '#8487ec',
    500: '#2f59e2',
    950: '#000000',
  },
}
SCSS
$custom: #2f59e2;
$custom-light: #8487ec;
$custom-dark: #000000;
JSON
{
  "hex": "#2f59e2",
  "rgb": {
    "r": 47,
    "g": 89,
    "b": 226
  },
  "hsl": {
    "h": 225.922,
    "s": 75.527,
    "l": 53.529
  },
  "oklch": {
    "l": 0.5228,
    "c": 0.21323,
    "h": 265.9
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#2F59E2
secondary
#DDCB90
accent
#C636F2
background
#F9F8FE
surface
#F1EFFD
border
#CBCAD5
text
#0D0B16
muted
#7E7C84

Preview Lab

Preview with #2F59E2

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

Preview Lab → · Contrast checker → · Palette generator →

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