#2F2596#2F2596

#2F2596 is a dark, vivid blue. Relative luminance 0.041; OKLCH L 36.3% C 0.175 H 277.1°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2F2596
RGBrgb(47, 37, 150)
HSLhsl(245, 60%, 37%)
HSVhsv(245, 75%, 59%)
CMYKcmyk(68.7%, 75.3%, 0%, 41.2%)
CIE-LABlab(24.09, 40.08, -59.94)
CIE-LCHlch(24.09, 72.10, 303.77°)
OKLaboklab(36.3% 0.0217 -0.1732)
OKLCHoklch(36.3% 0.175 277.1)
XYZxyz(7.3371, 4.1288, 29.2585)
Luminance0.0413 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2596 #8C9625
analogous
#255496 #2F2596 #682596
triadic
#2F2596 #962F25 #25962F
tetradic
#2F2596 #962554 #8C9625 #259668
square
#2F2596 #962554 #8C9625 #259668
split-complementary
#2F2596 #966825 #549625
monochromatic
#100D34 #201965 #2F2596 #3E31C7 #695ED7

Accessibility & contrast

On white

11.50
#2F2596 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2F2596 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2596
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2596#FFFFFF#000000##FFFFFF
##2F25961.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f2596;
/* rgb */ color: rgb(47, 37, 150);
/* oklch */ color: oklch(36.3% 0.175 277.1);
Tailwind
colors: {
  custom: {
    50: '#7761b6',
    500: '#2f2596',
    950: '#000000',
  },
}
SCSS
$custom: #2f2596;
$custom-light: #7761b6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2596",
  "rgb": {
    "r": 47,
    "g": 37,
    "b": 150
  },
  "hsl": {
    "h": 245.31,
    "s": 60.428,
    "l": 36.667
  },
  "oklch": {
    "l": 0.36298,
    "c": 0.17452,
    "h": 277.1
  },
  "luminance": 0.04129
}

Semantic roles & 50–950 ramp

primary
#2F2596
secondary
#B4BC5B
accent
#E444D5
background
#F7F5FB
surface
#EEEAF6
border
#C9C6D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #2F2596

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

Preview Lab → · Contrast checker → · Palette generator →

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