#2F3EAC#2F3EAC

#2F3EAC is a dark, vivid blue. Relative luminance 0.070; OKLCH L 42.6% C 0.175 H 270.8°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#2F3EAC
RGBrgb(47, 62, 172)
HSLhsl(233, 57%, 43%)
HSVhsv(233, 73%, 67%)
CMYKcmyk(72.7%, 64%, 0%, 32.5%)
CIE-LABlab(31.87, 32.35, -60.51)
CIE-LCHlch(31.87, 68.61, 298.13°)
OKLaboklab(42.55% 0.0026 -0.1748)
OKLCHoklch(42.55% 0.175 270.8)
XYZxyz(10.3388, 7.0271, 39.8332)
Luminance0.0703 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EAC #AC9D2F
analogous
#2F7CAC #2F3EAC #5E2FAC
triadic
#2F3EAC #AC2F3E #3EAC2F
tetradic
#2F3EAC #AC2F7C #AC9D2F #2FAC5E
square
#2F3EAC #AC2F7C #AC9D2F #2FAC5E
split-complementary
#2F3EAC #AC5E2F #7CAC2F
monochromatic
#151B4C #222D7C #2F3EAC #4B5ACE #7B86DB

Accessibility & contrast

On white

8.73
#2F3EAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#2F3EAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EAC
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EAC#FFFFFF#000000##FFFFFF
##2F3EAC1.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B0
Deuteranopia (green-blind)
#0045AA
Tritanopia (blue-blind)
#005B6F
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2f3eac;
/* rgb */ color: rgb(47, 62, 172);
/* oklch */ color: oklch(42.6% 0.175 270.8);
Tailwind
colors: {
  custom: {
    50: '#7a73c6',
    500: '#2f3eac',
    950: '#000000',
  },
}
SCSS
$custom: #2f3eac;
$custom-light: #7a73c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3eac",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 172
  },
  "hsl": {
    "h": 232.8,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.42552,
    "c": 0.17483,
    "h": 270.8
  },
  "luminance": 0.07028
}

Semantic roles & 50–950 ramp

primary
#2F3EAC
secondary
#C3BA74
accent
#CE47E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F3EAC

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

Preview Lab → · Contrast checker → · Palette generator →

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