#2F30CE#2F30CE

#2F30CE is a dark, highly saturated blue. Relative luminance 0.072; OKLCH L 43.8% C 0.232 H 271.3°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2F30CE
RGBrgb(47, 48, 206)
HSLhsl(240, 63%, 50%)
HSVhsv(240, 77%, 81%)
CMYKcmyk(77.2%, 76.7%, 0%, 19.2%)
CIE-LABlab(32.20, 52.26, -80.01)
CIE-LCHlch(32.20, 95.57, 303.15°)
OKLaboklab(43.79% 0.0053 -0.2316)
OKLCHoklch(43.79% 0.232 271.3)
XYZxyz(13.3661, 7.1730, 59.0606)
Luminance0.0717 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F30CE #CECD2F
analogous
#2F7FCE #2F30CE #7E2FCE
triadic
#2F30CE #CE2F30 #30CE2F
tetradic
#2F30CE #CE2F7F #CECD2F #2FCE7E
square
#2F30CE #CE2F7F #CECD2F #2FCE7E
split-complementary
#2F30CE #CE7E2F #7FCE2F
monochromatic
#18196A #24249C #2F30CE #6060DB #9192E6

Accessibility & contrast

On white

8.62
#2F30CE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F30CE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F30CE
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F30CE#FFFFFF#000000##FFFFFF
##2F30CE1.008.622.438.62
#FFFFFF8.621.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054D2
Deuteranopia (green-blind)
#0044CB
Tritanopia (blue-blind)
#00607E
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f30ce;
/* rgb */ color: rgb(47, 48, 206);
/* oklch */ color: oklch(43.8% 0.232 271.3);
Tailwind
colors: {
  custom: {
    50: '#836bde',
    500: '#2f30ce',
    950: '#000000',
  },
}
SCSS
$custom: #2f30ce;
$custom-light: #836bde;
$custom-dark: #000000;
JSON
{
  "hex": "#2f30ce",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 206
  },
  "hsl": {
    "h": 239.623,
    "s": 62.846,
    "l": 49.608
  },
  "oklch": {
    "l": 0.4379,
    "c": 0.23171,
    "h": 271.3
  },
  "luminance": 0.07174
}

Semantic roles & 50–950 ramp

primary
#2F30CE
secondary
#D1D088
accent
#E542E6
background
#F9F6FD
surface
#F1EBFB
border
#CBC6D4
text
#0D0715
muted
#7E7A83

Preview Lab

Preview with #2F30CE

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

Preview Lab → · Contrast checker → · Palette generator →

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