#2F3ECA#2F3ECA

#2F3ECA is a mid, highly saturated blue. Relative luminance 0.083; OKLCH L 45.4% C 0.213 H 270.0°. Best body text is #FFFFFF at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#2F3ECA
RGBrgb(47, 62, 202)
HSLhsl(234, 62%, 49%)
HSVhsv(234, 77%, 79%)
CMYKcmyk(76.7%, 69.3%, 0%, 20.8%)
CIE-LABlab(34.63, 43.00, -73.67)
CIE-LCHlch(34.63, 85.30, 300.27°)
OKLaboklab(45.4% 0.0002 -0.2133)
OKLCHoklch(45.4% 0.213 270)
XYZxyz(13.5519, 8.3124, 56.7559)
Luminance0.0831 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3ECA #CABB2F
analogous
#2F8CCA #2F3ECA #6E2FCA
triadic
#2F3ECA #CA2F3E #3ECA2F
tetradic
#2F3ECA #CA2F8C #CABB2F #2FCA6E
square
#2F3ECA #CA2F8C #CABB2F #2FCA6E
split-complementary
#2F3ECA #CA6E2F #8CCA2F
monochromatic
#182067 #232F98 #2F3ECA #5D69D9 #8F97E5

Accessibility & contrast

On white

7.89
#2F3ECA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#2F3ECA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3ECA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3ECA#FFFFFF#000000##FFFFFF
##2F3ECA1.007.892.667.89
#FFFFFF7.891.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#004AC7
Tritanopia (blue-blind)
#00657F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f3eca;
/* rgb */ color: rgb(47, 62, 202);
/* oklch */ color: oklch(45.4% 0.213 270.0);
Tailwind
colors: {
  custom: {
    50: '#8174db',
    500: '#2f3eca',
    950: '#000000',
  },
}
SCSS
$custom: #2f3eca;
$custom-light: #8174db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3eca",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 202
  },
  "hsl": {
    "h": 234.194,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.454,
    "c": 0.2133,
    "h": 270
  },
  "luminance": 0.08314
}

Semantic roles & 50–950 ramp

primary
#2F3ECA
secondary
#CFC886
accent
#D642E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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