#2F3FCA#2F3FCA

#2F3FCA is a mid, highly saturated blue. Relative luminance 0.084; OKLCH L 45.6% C 0.212 H 269.9°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2F3FCA
RGBrgb(47, 63, 202)
HSLhsl(234, 62%, 49%)
HSVhsv(234, 77%, 79%)
CMYKcmyk(76.7%, 68.8%, 0%, 20.8%)
CIE-LABlab(34.85, 42.39, -73.31)
CIE-LCHlch(34.85, 84.68, 300.04°)
OKLaboklab(45.56% -0.0003 -0.2122)
OKLCHoklch(45.56% 0.212 269.9)
XYZxyz(13.6068, 8.4221, 56.7742)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FCA #CABA2F
analogous
#2F8DCA #2F3FCA #6C2FCA
triadic
#2F3FCA #CA2F3F #3FCA2F
tetradic
#2F3FCA #CA2F8D #CABA2F #2FCA6C
square
#2F3FCA #CA2F8D #CABA2F #2FCA6C
split-complementary
#2F3FCA #CA6C2F #8DCA2F
monochromatic
#182067 #233098 #2F3FCA #5D6AD9 #8F97E5

Accessibility & contrast

On white

7.82
#2F3FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2F3FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FCA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FCA#FFFFFF#000000##FFFFFF
##2F3FCA1.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3fca;
/* rgb */ color: rgb(47, 63, 202);
/* oklch */ color: oklch(45.6% 0.212 269.9);
Tailwind
colors: {
  custom: {
    50: '#8174db',
    500: '#2f3fca',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fca;
$custom-light: #8174db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fca",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 202
  },
  "hsl": {
    "h": 233.806,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45561,
    "c": 0.21223,
    "h": 269.9
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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