#2F3FA3#2F3FA3

#2F3FA3 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 41.9% C 0.161 H 270.7°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#2F3FA3
RGBrgb(47, 63, 163)
HSLhsl(232, 55%, 41%)
HSVhsv(232, 71%, 64%)
CMYKcmyk(71.2%, 61.3%, 0%, 36.1%)
CIE-LABlab(31.35, 28.41, -55.95)
CIE-LCHlch(31.35, 62.75, 296.92°)
OKLaboklab(41.94% 0.0021 -0.1614)
OKLCHoklch(41.94% 0.161 270.7)
XYZxyz(9.5584, 6.8027, 35.4526)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FA3 #A3932F
analogous
#2F79A3 #2F3FA3 #592FA3
triadic
#2F3FA3 #A32F3F #3FA32F
tetradic
#2F3FA3 #A32F79 #A3932F #2FA359
square
#2F3FA3 #A32F79 #A3932F #2FA359
split-complementary
#2F3FA3 #A3592F #79A32F
monochromatic
#141A44 #212D73 #2F3FA3 #4658CA #7583D7

Accessibility & contrast

On white

8.90
#2F3FA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F3FA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FA3
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FA3#FFFFFF#000000##FFFFFF
##2F3FA31.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA6
Deuteranopia (green-blind)
#0045A1
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f3fa3;
/* rgb */ color: rgb(47, 63, 163);
/* oklch */ color: oklch(41.9% 0.161 270.7);
Tailwind
colors: {
  custom: {
    50: '#7774bf',
    500: '#2f3fa3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fa3;
$custom-light: #7774bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fa3",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 163
  },
  "hsl": {
    "h": 231.724,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.41935,
    "c": 0.16143,
    "h": 270.7
  },
  "luminance": 0.06804
}

Semantic roles & 50–950 ramp

primary
#2F3FA3
secondary
#BFB46F
accent
#CA49DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F3FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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