#2F3DCA#2F3DCA

#2F3DCA is a mid, highly saturated blue. Relative luminance 0.082; OKLCH L 45.2% C 0.214 H 270.2°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#2F3DCA
RGBrgb(47, 61, 202)
HSLhsl(235, 62%, 49%)
HSVhsv(235, 77%, 79%)
CMYKcmyk(76.7%, 69.8%, 0%, 20.8%)
CIE-LABlab(34.41, 43.60, -74.04)
CIE-LCHlch(34.41, 85.92, 300.49°)
OKLaboklab(45.24% 0.0007 -0.2143)
OKLCHoklch(45.24% 0.214 270.2)
XYZxyz(13.4981, 8.2046, 56.7379)
Luminance0.0821 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DCA #CABC2F
analogous
#2F8BCA #2F3DCA #6F2FCA
triadic
#2F3DCA #CA2F3D #3DCA2F
tetradic
#2F3DCA #CA2F8B #CABC2F #2FCA6F
square
#2F3DCA #CA2F8B #CABC2F #2FCA6F
split-complementary
#2F3DCA #CA6F2F #8BCA2F
monochromatic
#181F67 #232E98 #2F3DCA #5D68D9 #8F96E5

Accessibility & contrast

On white

7.95
#2F3DCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2F3DCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DCA
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DCA#FFFFFF#000000##FFFFFF
##2F3DCA1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0049C7
Tritanopia (blue-blind)
#00647F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f3dca;
/* rgb */ color: rgb(47, 61, 202);
/* oklch */ color: oklch(45.2% 0.214 270.2);
Tailwind
colors: {
  custom: {
    50: '#8173db',
    500: '#2f3dca',
    950: '#000000',
  },
}
SCSS
$custom: #2f3dca;
$custom-light: #8173db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3dca",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 202
  },
  "hsl": {
    "h": 234.581,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.45242,
    "c": 0.21435,
    "h": 270.2
  },
  "luminance": 0.08206
}

Semantic roles & 50–950 ramp

primary
#2F3DCA
secondary
#CFC986
accent
#D742E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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