#2F3CBE#2F3CBE

#2F3CBE is a dark, highly saturated blue. Relative luminance 0.076; OKLCH L 43.9% C 0.200 H 270.7°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2F3CBE
RGBrgb(47, 60, 190)
HSLhsl(235, 60%, 46%)
HSVhsv(235, 75%, 75%)
CMYKcmyk(75.3%, 68.4%, 0%, 25.5%)
CIE-LABlab(33.03, 40.03, -69.27)
CIE-LCHlch(33.03, 80.01, 300.02°)
OKLaboklab(43.9% 0.0024 -0.2005)
OKLCHoklch(43.9% 0.2 270.7)
XYZxyz(12.0792, 7.5525, 49.5264)
Luminance0.0755 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CBE #BEB12F
analogous
#2F84BE #2F3CBE #692FBE
triadic
#2F3CBE #BE2F3C #3CBE2F
tetradic
#2F3CBE #BE2F84 #BEB12F #2FBE69
square
#2F3CBE #BE2F84 #BEB12F #2FBE69
split-complementary
#2F3CBE #BE692F #84BE2F
monochromatic
#171D5C #232D8D #2F3CBE #5561D5 #868FE1

Accessibility & contrast

On white

8.36
#2F3CBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2F3CBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CBE
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CBE#FFFFFF#000000##FFFFFF
##2F3CBE1.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f3cbe;
/* rgb */ color: rgb(47, 60, 190);
/* oklch */ color: oklch(43.9% 0.200 270.7);
Tailwind
colors: {
  custom: {
    50: '#7e72d3',
    500: '#2f3cbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cbe;
$custom-light: #7e72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cbe",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 190
  },
  "hsl": {
    "h": 234.545,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43903,
    "c": 0.20047,
    "h": 270.7
  },
  "luminance": 0.07554
}

Semantic roles & 50–950 ramp

primary
#2F3CBE
secondary
#CBC47E
accent
#D544E3
background
#F8F6FD
surface
#F0ECFA
border
#CBC7D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #2F3CBE

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

Preview Lab → · Contrast checker → · Palette generator →

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