#2F3ECE#2F3ECE

#2F3ECE is a mid, highly saturated blue. Relative luminance 0.085; OKLCH L 45.8% C 0.218 H 269.9°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#2F3ECE
RGBrgb(47, 62, 206)
HSLhsl(234, 63%, 50%)
HSVhsv(234, 77%, 81%)
CMYKcmyk(77.2%, 69.9%, 0%, 19.2%)
CIE-LABlab(35.01, 44.38, -75.36)
CIE-LCHlch(35.01, 87.46, 300.49°)
OKLaboklab(45.8% -0.0003 -0.2182)
OKLCHoklch(45.8% 0.218 269.9)
XYZxyz(14.0317, 8.5043, 59.2825)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3ECE #CEBF2F
analogous
#2F8DCE #2F3ECE #702FCE
triadic
#2F3ECE #CE2F3E #3ECE2F
tetradic
#2F3ECE #CE2F8D #CEBF2F #2FCE70
square
#2F3ECE #CE2F8D #CEBF2F #2FCE70
split-complementary
#2F3ECE #CE702F #8DCE2F
monochromatic
#18206A #242F9C #2F3ECE #606BDB #9199E6

Accessibility & contrast

On white

7.77
#2F3ECE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#2F3ECE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3ECE
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3ECE#FFFFFF#000000##FFFFFF
##2F3ECE1.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AD2
Deuteranopia (green-blind)
#004BCB
Tritanopia (blue-blind)
#006681
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f3ece;
/* rgb */ color: rgb(47, 62, 206);
/* oklch */ color: oklch(45.8% 0.218 269.9);
Tailwind
colors: {
  custom: {
    50: '#8274de',
    500: '#2f3ece',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ece;
$custom-light: #8274de;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ece",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 206
  },
  "hsl": {
    "h": 234.34,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.45796,
    "c": 0.21822,
    "h": 269.9
  },
  "luminance": 0.08506
}

Semantic roles & 50–950 ramp

primary
#2F3ECE
secondary
#D1CA88
accent
#D642E6
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3ECE

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

Preview Lab → · Contrast checker → · Palette generator →

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