#2F3FB2#2F3FB2

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

Color values

HEX#2F3FB2
RGBrgb(47, 63, 178)
HSLhsl(233, 58%, 44%)
HSVhsv(233, 74%, 70%)
CMYKcmyk(73.6%, 64.6%, 0%, 30.2%)
CIE-LABlab(32.64, 33.88, -62.82)
CIE-LCHlch(32.64, 71.37, 298.34°)
OKLaboklab(43.28% 0.0016 -0.1816)
OKLCHoklch(43.28% 0.182 270.5)
XYZxyz(10.9829, 7.3726, 42.9551)
Luminance0.0737 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FB2 #B2A22F
analogous
#2F81B2 #2F3FB2 #612FB2
triadic
#2F3FB2 #B22F3F #3FB22F
tetradic
#2F3FB2 #B22F81 #B2A22F #2FB261
square
#2F3FB2 #B22F81 #B2A22F #2FB261
split-complementary
#2F3FB2 #B2612F #81B22F
monochromatic
#151D51 #222E82 #2F3FB2 #4E5ED0 #7E8ADD

Accessibility & contrast

On white

8.49
#2F3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#2F3FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FB2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FB2#FFFFFF#000000##FFFFFF
##2F3FB21.008.492.478.49
#FFFFFF8.491.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B6
Deuteranopia (green-blind)
#0047B0
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3fb2;
/* rgb */ color: rgb(47, 63, 178);
/* oklch */ color: oklch(43.3% 0.182 270.5);
Tailwind
colors: {
  custom: {
    50: '#7b74ca',
    500: '#2f3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fb2;
$custom-light: #7b74ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fb2",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 232.672,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.43281,
    "c": 0.18159,
    "h": 270.5
  },
  "luminance": 0.07374
}

Semantic roles & 50–950 ramp

primary
#2F3FB2
secondary
#C6BC77
accent
#CE46E1
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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