#2F3BB1#2F3BB1

#2F3BB1 is a dark, vivid blue. Relative luminance 0.069; OKLCH L 42.5% C 0.185 H 271.3°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#2F3BB1
RGBrgb(47, 59, 177)
HSLhsl(234, 58%, 44%)
HSVhsv(234, 73%, 69%)
CMYKcmyk(73.4%, 66.7%, 0%, 30.6%)
CIE-LABlab(31.59, 36.06, -63.95)
CIE-LCHlch(31.59, 73.41, 299.42°)
OKLaboklab(42.49% 0.0042 -0.1849)
OKLCHoklch(42.49% 0.185 271.3)
XYZxyz(10.6694, 6.9055, 42.3570)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BB1 #B1A52F
analogous
#2F7CB1 #2F3BB1 #642FB1
triadic
#2F3BB1 #B12F3B #3BB12F
tetradic
#2F3BB1 #B12F7C #B1A52F #2FB164
square
#2F3BB1 #B12F7C #B1A52F #2FB164
split-complementary
#2F3BB1 #B1642F #7CB12F
monochromatic
#151B50 #222B81 #2F3BB1 #4D59D0 #7E86DD

Accessibility & contrast

On white

8.82
#2F3BB1 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#2F3BB1 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BB1
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BB1#FFFFFF#000000##FFFFFF
##2F3BB11.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B5
Deuteranopia (green-blind)
#0044AF
Tritanopia (blue-blind)
#005A71
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f3bb1;
/* rgb */ color: rgb(47, 59, 177);
/* oklch */ color: oklch(42.5% 0.185 271.3);
Tailwind
colors: {
  custom: {
    50: '#7b71c9',
    500: '#2f3bb1',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bb1;
$custom-light: #7b71c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bb1",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 177
  },
  "hsl": {
    "h": 234.462,
    "s": 58.036,
    "l": 43.922
  },
  "oklch": {
    "l": 0.42486,
    "c": 0.18495,
    "h": 271.3
  },
  "luminance": 0.06907
}

Semantic roles & 50–950 ramp

primary
#2F3BB1
secondary
#C5BE76
accent
#D347E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F3BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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