#2F3BAD#2F3BAD

#2F3BAD is a dark, vivid blue. Relative luminance 0.067; OKLCH L 42.1% C 0.180 H 271.4°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#2F3BAD
RGBrgb(47, 59, 173)
HSLhsl(234, 57%, 43%)
HSVhsv(234, 73%, 68%)
CMYKcmyk(72.8%, 65.9%, 0%, 32.2%)
CIE-LABlab(31.23, 34.63, -62.16)
CIE-LCHlch(31.23, 71.15, 299.13°)
OKLaboklab(42.11% 0.0045 -0.1797)
OKLCHoklch(42.11% 0.18 271.4)
XYZxyz(10.2765, 6.7484, 40.2880)
Luminance0.0675 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BAD #ADA12F
analogous
#2F7AAD #2F3BAD #622FAD
triadic
#2F3BAD #AD2F3B #3BAD2F
tetradic
#2F3BAD #AD2F7A #ADA12F #2FAD62
square
#2F3BAD #AD2F7A #ADA12F #2FAD62
split-complementary
#2F3BAD #AD622F #7AAD2F
monochromatic
#151A4D #222B7D #2F3BAD #4B58CE #7B84DB

Accessibility & contrast

On white

8.94
#2F3BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2F3BAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BAD
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BAD#FFFFFF#000000##FFFFFF
##2F3BAD1.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0044AB
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f3bad;
/* rgb */ color: rgb(47, 59, 173);
/* oklch */ color: oklch(42.1% 0.180 271.4);
Tailwind
colors: {
  custom: {
    50: '#7a71c6',
    500: '#2f3bad',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bad;
$custom-light: #7a71c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bad",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 173
  },
  "hsl": {
    "h": 234.286,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4211,
    "c": 0.17972,
    "h": 271.4
  },
  "luminance": 0.06749
}

Semantic roles & 50–950 ramp

primary
#2F3BAD
secondary
#C4BC74
accent
#D247E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F3BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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