#2F3FB3#2F3FB3

#2F3FB3 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.4% C 0.183 H 270.5°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2F3FB3
RGBrgb(47, 63, 179)
HSLhsl(233, 58%, 44%)
HSVhsv(233, 74%, 70%)
CMYKcmyk(73.7%, 64.8%, 0%, 29.8%)
CIE-LABlab(32.73, 34.24, -63.27)
CIE-LCHlch(32.73, 71.94, 298.42°)
OKLaboklab(43.37% 0.0015 -0.1829)
OKLCHoklch(43.37% 0.183 270.5)
XYZxyz(11.0837, 7.4129, 43.4858)
Luminance0.0741 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FB3 #B3A32F
analogous
#2F81B3 #2F3FB3 #612FB3
triadic
#2F3FB3 #B32F3F #3FB32F
tetradic
#2F3FB3 #B32F81 #B3A32F #2FB361
square
#2F3FB3 #B32F81 #B3A32F #2FB361
split-complementary
#2F3FB3 #B3612F #81B32F
monochromatic
#161D52 #222E83 #2F3FB3 #4F5ED1 #7F8ADD

Accessibility & contrast

On white

8.46
#2F3FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2F3FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FB3
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FB3#FFFFFF#000000##FFFFFF
##2F3FB31.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B7
Deuteranopia (green-blind)
#0047B1
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3fb3;
/* rgb */ color: rgb(47, 63, 179);
/* oklch */ color: oklch(43.4% 0.183 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b74cb',
    500: '#2f3fb3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fb3;
$custom-light: #7b74cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fb3",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 179
  },
  "hsl": {
    "h": 232.727,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43374,
    "c": 0.1829,
    "h": 270.5
  },
  "luminance": 0.07414
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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