#2F3EBE#2F3EBE

#2F3EBE is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.2% C 0.198 H 270.4°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#2F3EBE
RGBrgb(47, 62, 190)
HSLhsl(234, 60%, 46%)
HSVhsv(234, 75%, 75%)
CMYKcmyk(75.3%, 67.4%, 0%, 25.5%)
CIE-LABlab(33.49, 38.80, -68.52)
CIE-LCHlch(33.49, 78.74, 299.52°)
OKLaboklab(44.24% 0.0013 -0.1982)
OKLCHoklch(44.24% 0.198 270.4)
XYZxyz(12.1860, 7.7660, 49.5620)
Luminance0.0777 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EBE #BEAF2F
analogous
#2F86BE #2F3EBE #682FBE
triadic
#2F3EBE #BE2F3E #3EBE2F
tetradic
#2F3EBE #BE2F86 #BEAF2F #2FBE68
square
#2F3EBE #BE2F86 #BEAF2F #2FBE68
split-complementary
#2F3EBE #BE682F #86BE2F
monochromatic
#171E5C #232E8D #2F3EBE #5563D5 #8690E1

Accessibility & contrast

On white

8.22
#2F3EBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3EBE
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EBE#FFFFFF#000000##FFFFFF
##2F3EBE1.008.222.558.22
#FFFFFF8.221.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0048BC
Tritanopia (blue-blind)
#006179
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f3ebe;
/* rgb */ color: rgb(47, 62, 190);
/* oklch */ color: oklch(44.2% 0.198 270.4);
Tailwind
colors: {
  custom: {
    50: '#7e73d3',
    500: '#2f3ebe',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ebe;
$custom-light: #7e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ebe",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 190
  },
  "hsl": {
    "h": 233.706,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44235,
    "c": 0.19825,
    "h": 270.4
  },
  "luminance": 0.07767
}

Semantic roles & 50–950 ramp

primary
#2F3EBE
secondary
#CBC37E
accent
#D344E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #2F3EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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