#2F3BBC#2F3BBC

#2F3BBC is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.5% C 0.199 H 270.9°. Best body text is #FFFFFF at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#2F3BBC
RGBrgb(47, 59, 188)
HSLhsl(235, 60%, 46%)
HSVhsv(235, 75%, 74%)
CMYKcmyk(75%, 68.6%, 0%, 26.3%)
CIE-LABlab(32.62, 39.95, -68.78)
CIE-LCHlch(32.62, 79.54, 300.15°)
OKLaboklab(43.54% 0.0032 -0.199)
OKLCHoklch(43.54% 0.199 270.9)
XYZxyz(11.8103, 7.3618, 48.3658)
Luminance0.0736 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BBC #BCB02F
analogous
#2F81BC #2F3BBC #692FBC
triadic
#2F3BBC #BC2F3B #3BBC2F
tetradic
#2F3BBC #BC2F81 #BCB02F #2FBC69
square
#2F3BBC #BC2F81 #BCB02F #2FBC69
split-complementary
#2F3BBC #BC692F #81BC2F
monochromatic
#171C5A #232C8B #2F3BBC #545FD4 #858DE0

Accessibility & contrast

On white

8.49
#2F3BBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F3BBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BBC
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BBC#FFFFFF#000000##FFFFFF
##2F3BBC1.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053C0
Deuteranopia (green-blind)
#0046BA
Tritanopia (blue-blind)
#005E77
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3bbc;
/* rgb */ color: rgb(47, 59, 188);
/* oklch */ color: oklch(43.5% 0.199 270.9);
Tailwind
colors: {
  custom: {
    50: '#7e71d1',
    500: '#2f3bbc',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bbc;
$custom-light: #7e71d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bbc",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 188
  },
  "hsl": {
    "h": 234.894,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.43544,
    "c": 0.19905,
    "h": 270.9
  },
  "luminance": 0.07363
}

Semantic roles & 50–950 ramp

primary
#2F3BBC
secondary
#CAC37D
accent
#D645E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F3BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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