#2F2DB3#2F2DB3

#2F2DB3 is a dark, highly saturated blue. Relative luminance 0.057; OKLCH L 40.5% C 0.202 H 273.3°. Best body text is #FFFFFF at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#2F2DB3
RGBrgb(47, 45, 179)
HSLhsl(241, 60%, 44%)
HSVhsv(241, 75%, 70%)
CMYKcmyk(73.7%, 74.9%, 0%, 29.8%)
CIE-LABlab(28.73, 45.14, -69.84)
CIE-LCHlch(28.73, 83.16, 302.87°)
OKLaboklab(40.49% 0.0116 -0.2021)
OKLCHoklch(40.49% 0.202 273.3)
XYZxyz(10.2446, 5.7347, 43.2061)
Luminance0.0574 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F2DB3 #B1B32D
analogous
#2D6EB3 #2F2DB3 #722DB3
triadic
#2F2DB3 #B32F2D #2DB32F
tetradic
#2F2DB3 #B32D6E #B1B32D #2DB372
square
#2F2DB3 #B32D6E #B1B32D #2DB372
split-complementary
#2F2DB3 #B3722D #6EB32D
monochromatic
#151451 #222182 #2F2DB3 #4D4BD2 #7E7CDE

Accessibility & contrast

On white

9.78
#2F2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2F2DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F2DB3
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F2DB3#FFFFFF#000000##FFFFFF
##2F2DB31.009.782.159.78
#FFFFFF9.781.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004AB7
Deuteranopia (green-blind)
#003DB1
Tritanopia (blue-blind)
#00546E
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2f2db3;
/* rgb */ color: rgb(47, 45, 179);
/* oklch */ color: oklch(40.5% 0.202 273.3);
Tailwind
colors: {
  custom: {
    50: '#7d68cb',
    500: '#2f2db3',
    950: '#000000',
  },
}
SCSS
$custom: #2f2db3;
$custom-light: #7d68cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f2db3",
  "rgb": {
    "r": 47,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 240.896,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.40491,
    "c": 0.20241,
    "h": 273.3
  },
  "luminance": 0.05736
}

Semantic roles & 50–950 ramp

primary
#2F2DB3
secondary
#C5C775
accent
#E345E1
background
#F8F6FC
surface
#EFEBF9
border
#CAC6D2
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #2F2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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