#2F3EB8#2F3EB8

#2F3EB8 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.7% C 0.191 H 270.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2F3EB8
RGBrgb(47, 62, 184)
HSLhsl(233, 59%, 45%)
HSVhsv(233, 74%, 72%)
CMYKcmyk(74.5%, 66.3%, 0%, 27.8%)
CIE-LABlab(32.94, 36.67, -65.89)
CIE-LCHlch(32.94, 75.40, 299.10°)
OKLaboklab(43.67% 0.0018 -0.1906)
OKLCHoklch(43.67% 0.191 270.5)
XYZxyz(11.5437, 7.5091, 46.1791)
Luminance0.0751 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EB8 #B8A92F
analogous
#2F82B8 #2F3EB8 #652FB8
triadic
#2F3EB8 #B82F3E #3EB82F
tetradic
#2F3EB8 #B82F82 #B8A92F #2FB865
square
#2F3EB8 #B82F82 #B8A92F #2FB865
split-complementary
#2F3EB8 #B8652F #82B82F
monochromatic
#161D57 #232E87 #2F3EB8 #5260D3 #828CDF

Accessibility & contrast

On white

8.39
#2F3EB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F3EB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EB8
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EB8#FFFFFF#000000##FFFFFF
##2F3EB81.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0047B6
Tritanopia (blue-blind)
#005F75
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f3eb8;
/* rgb */ color: rgb(47, 62, 184);
/* oklch */ color: oklch(43.7% 0.191 270.5);
Tailwind
colors: {
  custom: {
    50: '#7c73ce',
    500: '#2f3eb8',
    950: '#000000',
  },
}
SCSS
$custom: #2f3eb8;
$custom-light: #7c73ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3eb8",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 184
  },
  "hsl": {
    "h": 233.431,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.43665,
    "c": 0.19057,
    "h": 270.5
  },
  "luminance": 0.0751
}

Semantic roles & 50–950 ramp

primary
#2F3EB8
secondary
#C8C07B
accent
#D145E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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