#2F3FB4#2F3FB4

#2F3FB4 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.184 H 270.5°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#2F3FB4
RGBrgb(47, 63, 180)
HSLhsl(233, 59%, 45%)
HSVhsv(233, 74%, 71%)
CMYKcmyk(73.9%, 65%, 0%, 29.4%)
CIE-LABlab(32.82, 34.60, -63.72)
CIE-LCHlch(32.82, 72.51, 298.50°)
OKLaboklab(43.47% 0.0015 -0.1842)
OKLCHoklch(43.47% 0.184 270.5)
XYZxyz(11.1852, 7.4535, 44.0203)
Luminance0.0746 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FB4 #B4A42F
analogous
#2F82B4 #2F3FB4 #622FB4
triadic
#2F3FB4 #B42F3F #3FB42F
tetradic
#2F3FB4 #B42F82 #B4A42F #2FB462
square
#2F3FB4 #B42F82 #B4A42F #2FB462
split-complementary
#2F3FB4 #B4622F #82B42F
monochromatic
#161D53 #222E83 #2F3FB4 #4F5FD1 #808BDE

Accessibility & contrast

On white

8.43
#2F3FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F3FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FB4
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FB4#FFFFFF#000000##FFFFFF
##2F3FB41.008.432.498.43
#FFFFFF8.431.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B8
Deuteranopia (green-blind)
#0047B2
Tritanopia (blue-blind)
#005E74
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3fb4;
/* rgb */ color: rgb(47, 63, 180);
/* oklch */ color: oklch(43.5% 0.184 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b74cb',
    500: '#2f3fb4',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fb4;
$custom-light: #7b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fb4",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 180
  },
  "hsl": {
    "h": 232.782,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.43466,
    "c": 0.18422,
    "h": 270.5
  },
  "luminance": 0.07455
}

Semantic roles & 50–950 ramp

primary
#2F3FB4
secondary
#C7BD78
accent
#CF46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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