#2F3BB5#2F3BB5

#2F3BB5 is a dark, vivid blue. Relative luminance 0.071; OKLCH L 42.9% C 0.190 H 271.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#2F3BB5
RGBrgb(47, 59, 181)
HSLhsl(235, 59%, 45%)
HSVhsv(235, 74%, 71%)
CMYKcmyk(74%, 67.4%, 0%, 29%)
CIE-LABlab(31.96, 37.48, -65.72)
CIE-LCHlch(31.96, 75.66, 299.70°)
OKLaboklab(42.87% 0.0039 -0.1901)
OKLCHoklch(42.87% 0.19 271.2)
XYZxyz(11.0739, 7.0673, 44.4876)
Luminance0.0707 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BB5 #B5A92F
analogous
#2F7EB5 #2F3BB5 #662FB5
triadic
#2F3BB5 #B52F3B #3BB52F
tetradic
#2F3BB5 #B52F7E #B5A92F #2FB566
square
#2F3BB5 #B52F7E #B5A92F #2FB566
split-complementary
#2F3BB5 #B5662F #7EB52F
monochromatic
#161B54 #222B84 #2F3BB5 #505BD1 #8089DE

Accessibility & contrast

On white

8.70
#2F3BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F3BB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BB5
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BB5#FFFFFF#000000##FFFFFF
##2F3BB51.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3bb5;
/* rgb */ color: rgb(47, 59, 181);
/* oklch */ color: oklch(42.9% 0.190 271.2);
Tailwind
colors: {
  custom: {
    50: '#7c71cc',
    500: '#2f3bb5',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bb5;
$custom-light: #7c71cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bb5",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 181
  },
  "hsl": {
    "h": 234.627,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.42867,
    "c": 0.19012,
    "h": 271.2
  },
  "luminance": 0.07068
}

Semantic roles & 50–950 ramp

primary
#2F3BB5
secondary
#C7C079
accent
#D446E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0714
muted
#7C7A82

Preview Lab

Preview with #2F3BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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