#2F3FBB#2F3FBB

#2F3FBB is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.193 H 270.3°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#2F3FBB
RGBrgb(47, 63, 187)
HSLhsl(233, 60%, 46%)
HSVhsv(233, 75%, 73%)
CMYKcmyk(74.9%, 66.3%, 0%, 26.7%)
CIE-LABlab(33.45, 37.11, -66.82)
CIE-LCHlch(33.45, 76.44, 299.05°)
OKLaboklab(44.12% 0.001 -0.1933)
OKLCHoklch(44.12% 0.193 270.3)
XYZxyz(11.9164, 7.7459, 47.8712)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FBB #BBAB2F
analogous
#2F85BB #2F3FBB #652FBB
triadic
#2F3FBB #BB2F3F #3FBB2F
tetradic
#2F3FBB #BB2F85 #BBAB2F #2FBB65
square
#2F3FBB #BB2F85 #BBAB2F #2FBB65
split-complementary
#2F3FBB #BB652F #85BB2F
monochromatic
#161E59 #232F8A #2F3FBB #5362D4 #848FE0

Accessibility & contrast

On white

8.24
#2F3FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F3FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FBB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FBB#FFFFFF#000000##FFFFFF
##2F3FBB1.008.242.558.24
#FFFFFF8.241.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0048B9
Tritanopia (blue-blind)
#006077
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f3fbb;
/* rgb */ color: rgb(47, 63, 187);
/* oklch */ color: oklch(44.1% 0.193 270.3);
Tailwind
colors: {
  custom: {
    50: '#7d74d1',
    500: '#2f3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fbb;
$custom-light: #7d74d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fbb",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 233.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4412,
    "c": 0.19329,
    "h": 270.3
  },
  "luminance": 0.07747
}

Semantic roles & 50–950 ramp

primary
#2F3FBB
secondary
#C9C17C
accent
#D145E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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