#2F3DB5#2F3DB5

#2F3DB5 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.188 H 270.8°. Best body text is #FFFFFF at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#2F3DB5
RGBrgb(47, 61, 181)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 74%, 71%)
CMYKcmyk(74%, 66.3%, 0%, 29%)
CIE-LABlab(32.43, 36.23, -64.95)
CIE-LCHlch(32.43, 74.37, 299.15°)
OKLaboklab(43.21% 0.0027 -0.1878)
OKLCHoklch(43.21% 0.188 270.8)
XYZxyz(11.1787, 7.2768, 44.5225)
Luminance0.0728 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DB5 #B5A72F
analogous
#2F80B5 #2F3DB5 #642FB5
triadic
#2F3DB5 #B52F3D #3DB52F
tetradic
#2F3DB5 #B52F80 #B5A72F #2FB564
square
#2F3DB5 #B52F80 #B5A72F #2FB564
split-complementary
#2F3DB5 #B5642F #80B52F
monochromatic
#161C54 #222D84 #2F3DB5 #505DD1 #808ADE

Accessibility & contrast

On white

8.55
#2F3DB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#2F3DB5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DB5
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DB5#FFFFFF#000000##FFFFFF
##2F3DB51.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B9
Deuteranopia (green-blind)
#0046B3
Tritanopia (blue-blind)
#005D73
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3db5;
/* rgb */ color: rgb(47, 61, 181);
/* oklch */ color: oklch(43.2% 0.188 270.8);
Tailwind
colors: {
  custom: {
    50: '#7c72cc',
    500: '#2f3db5',
    950: '#000000',
  },
}
SCSS
$custom: #2f3db5;
$custom-light: #7c72cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3db5",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 181
  },
  "hsl": {
    "h": 233.731,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.43209,
    "c": 0.18784,
    "h": 270.8
  },
  "luminance": 0.07278
}

Semantic roles & 50–950 ramp

primary
#2F3DB5
secondary
#C7BF79
accent
#D246E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3DB5

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

Preview Lab → · Contrast checker → · Palette generator →

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