#2F3BCA#2F3BCA

#2F3BCA is a dark, highly saturated blue. Relative luminance 0.080; OKLCH L 44.9% C 0.216 H 270.4°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#2F3BCA
RGBrgb(47, 59, 202)
HSLhsl(235, 62%, 49%)
HSVhsv(235, 77%, 79%)
CMYKcmyk(76.7%, 70.8%, 0%, 20.8%)
CIE-LABlab(33.97, 44.79, -74.75)
CIE-LCHlch(33.97, 87.14, 300.93°)
OKLaboklab(44.93% 0.0016 -0.2164)
OKLCHoklch(44.93% 0.216 270.4)
XYZxyz(13.3933, 7.9951, 56.7030)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BCA #CABE2F
analogous
#2F89CA #2F3BCA #712FCA
triadic
#2F3BCA #CA2F3B #3BCA2F
tetradic
#2F3BCA #CA2F89 #CABE2F #2FCA71
square
#2F3BCA #CA2F89 #CABE2F #2FCA71
split-complementary
#2F3BCA #CA712F #89CA2F
monochromatic
#181E67 #232C98 #2F3BCA #5D67D9 #8F95E5

Accessibility & contrast

On white

8.08
#2F3BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#2F3BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BCA
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BCA#FFFFFF#000000##FFFFFF
##2F3BCA1.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057CE
Deuteranopia (green-blind)
#0048C7
Tritanopia (blue-blind)
#00637E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f3bca;
/* rgb */ color: rgb(47, 59, 202);
/* oklch */ color: oklch(44.9% 0.216 270.4);
Tailwind
colors: {
  custom: {
    50: '#8172db',
    500: '#2f3bca',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bca;
$custom-light: #8172db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bca",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 202
  },
  "hsl": {
    "h": 235.355,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.4493,
    "c": 0.21644,
    "h": 270.4
  },
  "luminance": 0.07997
}

Semantic roles & 50–950 ramp

primary
#2F3BCA
secondary
#CFCA86
accent
#D942E5
background
#F8F6FD
surface
#F0ECFB
border
#CBC7D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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