#2F2599#2F2599

#2F2599 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 36.6% C 0.178 H 276.8°. Best body text is #FFFFFF at 11.38:1 contrast (WCAG AA passes).

Color values

HEX#2F2599
RGBrgb(47, 37, 153)
HSLhsl(245, 61%, 37%)
HSVhsv(245, 76%, 60%)
CMYKcmyk(69.3%, 75.8%, 0%, 40%)
CIE-LABlab(24.41, 41.07, -61.26)
CIE-LCHlch(24.41, 73.75, 303.84°)
OKLaboklab(36.61% 0.0211 -0.177)
OKLCHoklch(36.61% 0.178 276.8)
XYZxyz(7.5818, 4.2267, 30.5471)
Luminance0.0423 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2599 #8F9925
analogous
#255599 #2F2599 #692599
triadic
#2F2599 #992F25 #25992F
tetradic
#2F2599 #992555 #8F9925 #259969
square
#2F2599 #992555 #8F9925 #259969
split-complementary
#2F2599 #996925 #559925
monochromatic
#110D36 #201968 #2F2599 #3E31CA #6A60D9

Accessibility & contrast

On white

11.38
#2F2599 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2F2599 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2599
11.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2599#FFFFFF#000000##FFFFFF
##2F25991.0011.381.8511.38
#FFFFFF11.381.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F9C
Deuteranopia (green-blind)
#003597
Tritanopia (blue-blind)
#00465D
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2f2599;
/* rgb */ color: rgb(47, 37, 153);
/* oklch */ color: oklch(36.6% 0.178 276.8);
Tailwind
colors: {
  custom: {
    50: '#7762b8',
    500: '#2f2599',
    950: '#000000',
  },
}
SCSS
$custom: #2f2599;
$custom-light: #7762b8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2599",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 153
  },
  "hsl": {
    "h": 245.172,
    "s": 61.053,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36614,
    "c": 0.17827,
    "h": 276.8
  },
  "luminance": 0.04227
}

Semantic roles & 50–950 ramp

primary
#2F2599
secondary
#B5BE5C
accent
#E444D6
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0512
muted
#7C7981

Preview Lab

Preview with #2F2599

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

Preview Lab → · Contrast checker → · Palette generator →

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