#2F2595#2F2595

#2F2595 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.2% C 0.173 H 277.3°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#2F2595
RGBrgb(47, 37, 149)
HSLhsl(245, 60%, 36%)
HSVhsv(245, 75%, 58%)
CMYKcmyk(68.5%, 75.2%, 0%, 41.6%)
CIE-LABlab(23.99, 39.75, -59.49)
CIE-LCHlch(23.99, 71.55, 303.75°)
OKLaboklab(36.19% 0.0219 -0.1719)
OKLCHoklch(36.19% 0.173 277.3)
XYZxyz(7.2569, 4.0968, 28.8363)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2595 #8B9525
analogous
#255395 #2F2595 #672595
triadic
#2F2595 #952F25 #25952F
tetradic
#2F2595 #952553 #8B9525 #259567
square
#2F2595 #952553 #8B9525 #259567
split-complementary
#2F2595 #956725 #539525
monochromatic
#100D33 #201964 #2F2595 #3E31C6 #685ED7

Accessibility & contrast

On white

11.54
#2F2595 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#2F2595 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2595
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2595#FFFFFF#000000##FFFFFF
##2F25951.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E98
Deuteranopia (green-blind)
#003493
Tritanopia (blue-blind)
#00455B
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2f2595;
/* rgb */ color: rgb(47, 37, 149);
/* oklch */ color: oklch(36.2% 0.173 277.3);
Tailwind
colors: {
  custom: {
    50: '#7761b5',
    500: '#2f2595',
    950: '#000000',
  },
}
SCSS
$custom: #2f2595;
$custom-light: #7761b5;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2595",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 149
  },
  "hsl": {
    "h": 245.357,
    "s": 60.215,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36193,
    "c": 0.17325,
    "h": 277.3
  },
  "luminance": 0.04097
}

Semantic roles & 50–950 ramp

primary
#2F2595
secondary
#B3BC5A
accent
#E344D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2595

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

Preview Lab → · Contrast checker → · Palette generator →

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