#2F3CB5#2F3CB5

#2F3CB5 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.189 H 271.0°. Best body text is #FFFFFF at 8.63:1 contrast (WCAG AA passes).

Color values

HEX#2F3CB5
RGBrgb(47, 60, 181)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 74%, 71%)
CMYKcmyk(74%, 66.9%, 0%, 29%)
CIE-LABlab(32.19, 36.86, -65.33)
CIE-LCHlch(32.19, 75.01, 299.43°)
OKLaboklab(43.04% 0.0033 -0.1889)
OKLCHoklch(43.04% 0.189 271)
XYZxyz(11.1258, 7.1711, 44.5049)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CB5 #B5A82F
analogous
#2F7FB5 #2F3CB5 #652FB5
triadic
#2F3CB5 #B52F3C #3CB52F
tetradic
#2F3CB5 #B52F7F #B5A82F #2FB565
square
#2F3CB5 #B52F7F #B5A82F #2FB565
split-complementary
#2F3CB5 #B5652F #7FB52F
monochromatic
#161C54 #222C84 #2F3CB5 #505CD1 #8089DE

Accessibility & contrast

On white

8.63
#2F3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F3CB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CB5
8.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CB5#FFFFFF#000000##FFFFFF
##2F3CB51.008.632.438.63
#FFFFFF8.631.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B9
Deuteranopia (green-blind)
#0045B3
Tritanopia (blue-blind)
#005C73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3cb5;
/* rgb */ color: rgb(47, 60, 181);
/* oklch */ color: oklch(43.0% 0.189 271.0);
Tailwind
colors: {
  custom: {
    50: '#7c72cc',
    500: '#2f3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cb5;
$custom-light: #7c72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cb5",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 234.179,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43037,
    "c": 0.18898,
    "h": 271
  },
  "luminance": 0.07172
}

Semantic roles & 50–950 ramp

primary
#2F3CB5
secondary
#C7BF79
accent
#D346E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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