#2F3FB0#2F3FB0

#2F3FB0 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.1% C 0.179 H 270.5°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#2F3FB0
RGBrgb(47, 63, 176)
HSLhsl(233, 58%, 44%)
HSVhsv(233, 73%, 69%)
CMYKcmyk(73.3%, 64.2%, 0%, 31%)
CIE-LABlab(32.46, 33.16, -61.92)
CIE-LCHlch(32.46, 70.24, 298.17°)
OKLaboklab(43.1% 0.0017 -0.1789)
OKLCHoklch(43.1% 0.179 270.5)
XYZxyz(10.7836, 7.2928, 41.9052)
Luminance0.0729 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FB0 #B0A02F
analogous
#2F7FB0 #2F3FB0 #5F2FB0
triadic
#2F3FB0 #B02F3F #3FB02F
tetradic
#2F3FB0 #B02F7F #B0A02F #2FB05F
square
#2F3FB0 #B02F7F #B0A02F #2FB05F
split-complementary
#2F3FB0 #B05F2F #7FB02F
monochromatic
#151C4F #222E80 #2F3FB0 #4D5DCF #7D89DC

Accessibility & contrast

On white

8.54
#2F3FB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F3FB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FB0
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FB0#FFFFFF#000000##FFFFFF
##2F3FB01.008.542.468.54
#FFFFFF8.541.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3fb0;
/* rgb */ color: rgb(47, 63, 176);
/* oklch */ color: oklch(43.1% 0.179 270.5);
Tailwind
colors: {
  custom: {
    50: '#7a74c9',
    500: '#2f3fb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fb0;
$custom-light: #7a74c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fb0",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 176
  },
  "hsl": {
    "h": 232.558,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43098,
    "c": 0.17895,
    "h": 270.5
  },
  "luminance": 0.07294
}

Semantic roles & 50–950 ramp

primary
#2F3FB0
secondary
#C5BB76
accent
#CE47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3FB0

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

Preview Lab → · Contrast checker → · Palette generator →

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