#2F3EB0#2F3EB0

#2F3EB0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.9% C 0.180 H 270.7°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#2F3EB0
RGBrgb(47, 62, 176)
HSLhsl(233, 58%, 44%)
HSVhsv(233, 73%, 69%)
CMYKcmyk(73.3%, 64.8%, 0%, 31%)
CIE-LABlab(32.22, 33.80, -62.32)
CIE-LCHlch(32.22, 70.89, 298.47°)
OKLaboklab(42.92% 0.0023 -0.1801)
OKLCHoklch(42.92% 0.18 270.7)
XYZxyz(10.7287, 7.1831, 41.8869)
Luminance0.0718 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EB0 #B0A12F
analogous
#2F7EB0 #2F3EB0 #602FB0
triadic
#2F3EB0 #B02F3E #3EB02F
tetradic
#2F3EB0 #B02F7E #B0A12F #2FB060
square
#2F3EB0 #B02F7E #B0A12F #2FB060
split-complementary
#2F3EB0 #B0602F #7EB02F
monochromatic
#151C4F #222D80 #2F3EB0 #4D5CCF #7D88DC

Accessibility & contrast

On white

8.62
#2F3EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F3EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EB0
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EB0#FFFFFF#000000##FFFFFF
##2F3EB01.008.622.448.62
#FFFFFF8.621.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B4
Deuteranopia (green-blind)
#0046AE
Tritanopia (blue-blind)
#005C71
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3eb0;
/* rgb */ color: rgb(47, 62, 176);
/* oklch */ color: oklch(42.9% 0.180 270.7);
Tailwind
colors: {
  custom: {
    50: '#7a73c9',
    500: '#2f3eb0',
    950: '#000000',
  },
}
SCSS
$custom: #2f3eb0;
$custom-light: #7a73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3eb0",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 176
  },
  "hsl": {
    "h": 233.023,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.42919,
    "c": 0.18014,
    "h": 270.7
  },
  "luminance": 0.07184
}

Semantic roles & 50–950 ramp

primary
#2F3EB0
secondary
#C5BC76
accent
#CF47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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