#2F3BBE#2F3BBE

#2F3BBE is a dark, highly saturated blue. Relative luminance 0.074; OKLCH L 43.7% C 0.202 H 270.8°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2F3BBE
RGBrgb(47, 59, 190)
HSLhsl(235, 60%, 46%)
HSVhsv(235, 75%, 75%)
CMYKcmyk(75.3%, 68.9%, 0%, 25.5%)
CIE-LABlab(32.81, 40.65, -69.64)
CIE-LCHlch(32.81, 80.64, 300.27°)
OKLaboklab(43.74% 0.003 -0.2015)
OKLCHoklch(43.74% 0.202 270.8)
XYZxyz(12.0274, 7.4487, 49.5091)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BBE #BEB22F
analogous
#2F83BE #2F3BBE #6B2FBE
triadic
#2F3BBE #BE2F3B #3BBE2F
tetradic
#2F3BBE #BE2F83 #BEB22F #2FBE6B
square
#2F3BBE #BE2F83 #BEB22F #2FBE6B
split-complementary
#2F3BBE #BE6B2F #83BE2F
monochromatic
#171D5C #232C8D #2F3BBE #5560D5 #868EE1

Accessibility & contrast

On white

8.43
#2F3BBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F3BBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BBE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BBE#FFFFFF#000000##FFFFFF
##2F3BBE1.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C2
Deuteranopia (green-blind)
#0046BC
Tritanopia (blue-blind)
#005F78
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3bbe;
/* rgb */ color: rgb(47, 59, 190);
/* oklch */ color: oklch(43.7% 0.202 270.8);
Tailwind
colors: {
  custom: {
    50: '#7e71d3',
    500: '#2f3bbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f3bbe;
$custom-light: #7e71d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3bbe",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 190
  },
  "hsl": {
    "h": 234.965,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.43739,
    "c": 0.20156,
    "h": 270.8
  },
  "luminance": 0.0745
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3BBE

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

Preview Lab → · Contrast checker → · Palette generator →

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