#2F3BB3#2F3BB3

#2F3BB3 is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.7% C 0.188 H 271.2°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#2F3BB3
RGBrgb(47, 59, 179)
HSLhsl(235, 58%, 44%)
HSVhsv(235, 74%, 70%)
CMYKcmyk(73.7%, 67%, 0%, 29.8%)
CIE-LABlab(31.77, 36.78, -64.83)
CIE-LCHlch(31.77, 74.54, 299.56°)
OKLaboklab(42.68% 0.004 -0.1875)
OKLCHoklch(42.68% 0.188 271.2)
XYZxyz(10.8702, 6.9858, 43.4146)
Luminance0.0699 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BB3 #B3A72F
analogous
#2F7DB3 #2F3BB3 #652FB3
triadic
#2F3BB3 #B32F3B #3BB32F
tetradic
#2F3BB3 #B32F7D #B3A72F #2FB365
square
#2F3BB3 #B32F7D #B3A72F #2FB365
split-complementary
#2F3BB3 #B3652F #7DB32F
monochromatic
#161B52 #222B83 #2F3BB3 #4F5AD1 #7F88DD

Accessibility & contrast

On white

8.76
#2F3BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#2F3BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BB3
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BB3#FFFFFF#000000##FFFFFF
##2F3BB31.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0045B1
Tritanopia (blue-blind)
#005B72
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f3bb3;
/* rgb */ color: rgb(47, 59, 179);
/* oklch */ color: oklch(42.7% 0.188 271.2);
Tailwind
colors: {
  custom: {
    50: '#7b71cb',
    500: '#2f3bb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bb3;
$custom-light: #7b71cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bb3",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 179
  },
  "hsl": {
    "h": 234.545,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.42676,
    "c": 0.18754,
    "h": 271.2
  },
  "luminance": 0.06987
}

Semantic roles & 50–950 ramp

primary
#2F3BB3
secondary
#C6BF78
accent
#D346E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F3BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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