#2F3FC9#2F3FC9

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

Color values

HEX#2F3FC9
RGBrgb(47, 63, 201)
HSLhsl(234, 62%, 49%)
HSVhsv(234, 77%, 79%)
CMYKcmyk(76.6%, 68.7%, 0%, 21.2%)
CIE-LABlab(34.75, 42.05, -72.88)
CIE-LCHlch(34.75, 84.14, 299.98°)
OKLaboklab(45.46% -0.0002 -0.211)
OKLCHoklch(45.46% 0.211 269.9)
XYZxyz(13.4888, 8.3749, 56.1526)
Luminance0.0838 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FC9 #C9B92F
analogous
#2F8CC9 #2F3FC9 #6C2FC9
triadic
#2F3FC9 #C92F3F #3FC92F
tetradic
#2F3FC9 #C92F8C #C9B92F #2FC96C
square
#2F3FC9 #C92F8C #C9B92F #2FC96C
split-complementary
#2F3FC9 #C96C2F #8CC92F
monochromatic
#182066 #232F97 #2F3FC9 #5C69D9 #8E97E5

Accessibility & contrast

On white

7.85
#2F3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3FC9
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FC9#FFFFFF#000000##FFFFFF
##2F3FC91.007.852.687.85
#FFFFFF7.851.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2f3fc9;
/* rgb */ color: rgb(47, 63, 201);
/* oklch */ color: oklch(45.5% 0.211 269.9);
Tailwind
colors: {
  custom: {
    50: '#8074db',
    500: '#2f3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fc9;
$custom-light: #8074db;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fc9",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 233.766,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.45463,
    "c": 0.21099,
    "h": 269.9
  },
  "luminance": 0.08376
}

Semantic roles & 50–950 ramp

primary
#2F3FC9
secondary
#CFC785
accent
#D443E5
background
#F8F7FD
surface
#F0EDFB
border
#CBC8D4
text
#0C0815
muted
#7D7B83

Preview Lab

Preview with #2F3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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