#2F3282#2F3282

#2F3282 is a dark, vivid blue. Relative luminance 0.045; OKLCH L 36.6% C 0.132 H 276.1°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2F3282
RGBrgb(47, 50, 130)
HSLhsl(238, 47%, 35%)
HSVhsv(238, 64%, 51%)
CMYKcmyk(63.8%, 61.5%, 0%, 49%)
CIE-LABlab(25.25, 24.99, -45.61)
CIE-LCHlch(25.25, 52.01, 298.71°)
OKLaboklab(36.57% 0.014 -0.1312)
OKLCHoklch(36.57% 0.132 276.1)
XYZxyz(6.3408, 4.4967, 21.6486)
Luminance0.0450 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3282 #827F2F
analogous
#2F5C82 #2F3282 #552F82
triadic
#2F3282 #822F32 #32822F
tetradic
#2F3282 #822F5C #827F2F #2F8255
square
#2F3282 #822F5C #827F2F #2F8255
split-complementary
#2F3282 #82552F #5C822F
monochromatic
#0E0F28 #1F2155 #2F3282 #3F43AF #6468C7

Accessibility & contrast

On white

11.06
#2F3282 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2F3282 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3282
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3282#FFFFFF#000000##FFFFFF
##2F32821.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F85
Deuteranopia (green-blind)
#003880
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2f3282;
/* rgb */ color: rgb(47, 50, 130);
/* oklch */ color: oklch(36.6% 0.132 276.1);
Tailwind
colors: {
  custom: {
    50: '#716aa7',
    500: '#2f3282',
    950: '#000000',
  },
}
SCSS
$custom: #2f3282;
$custom-light: #716aa7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3282",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 237.831,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.36565,
    "c": 0.13193,
    "h": 276.1
  },
  "luminance": 0.04497
}

Semantic roles & 50–950 ramp

primary
#2F3282
secondary
#AEAB5F
accent
#D251D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F3282

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

Preview Lab → · Contrast checker → · Palette generator →

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