#2F3AB0#2F3AB0

#2F3AB0 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.2% C 0.185 H 271.5°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2F3AB0
RGBrgb(47, 58, 176)
HSLhsl(235, 58%, 44%)
HSVhsv(235, 73%, 69%)
CMYKcmyk(73.3%, 67%, 0%, 31%)
CIE-LABlab(31.26, 36.34, -63.89)
CIE-LCHlch(31.26, 73.50, 299.63°)
OKLaboklab(42.22% 0.0049 -0.1847)
OKLCHoklch(42.22% 0.185 271.5)
XYZxyz(10.5192, 6.7640, 41.8171)
Luminance0.0677 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3AB0 #B0A52F
analogous
#2F7AB0 #2F3AB0 #642FB0
triadic
#2F3AB0 #B02F3A #3AB02F
tetradic
#2F3AB0 #B02F7A #B0A52F #2FB064
square
#2F3AB0 #B02F7A #B0A52F #2FB064
split-complementary
#2F3AB0 #B0642F #7AB02F
monochromatic
#151A4F #222A80 #2F3AB0 #4D58CF #7D85DC

Accessibility & contrast

On white

8.92
#2F3AB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2F3AB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3AB0
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3AB0#FFFFFF#000000##FFFFFF
##2F3AB01.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0044AE
Tritanopia (blue-blind)
#005A70
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f3ab0;
/* rgb */ color: rgb(47, 58, 176);
/* oklch */ color: oklch(42.2% 0.185 271.5);
Tailwind
colors: {
  custom: {
    50: '#7b70c9',
    500: '#2f3ab0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ab0;
$custom-light: #7b70c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ab0",
  "rgb": {
    "r": 47,
    "g": 58,
    "b": 176
  },
  "hsl": {
    "h": 234.884,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.4222,
    "c": 0.1848,
    "h": 271.5
  },
  "luminance": 0.06765
}

Semantic roles & 50–950 ramp

primary
#2F3AB0
secondary
#C5BE76
accent
#D447E1
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0B0713
muted
#7C7A82

Preview Lab

Preview with #2F3AB0

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

Preview Lab → · Contrast checker → · Palette generator →

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