#2F3FAE#2F3FAE

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

Color values

HEX#2F3FAE
RGBrgb(47, 63, 174)
HSLhsl(232, 57%, 43%)
HSVhsv(232, 73%, 68%)
CMYKcmyk(73%, 63.8%, 0%, 31.8%)
CIE-LABlab(32.29, 32.43, -61.01)
CIE-LCHlch(32.29, 69.10, 297.99°)
OKLaboklab(42.92% 0.0018 -0.1763)
OKLCHoklch(42.92% 0.176 270.6)
XYZxyz(10.5872, 7.2143, 40.8707)
Luminance0.0722 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FAE #AE9E2F
analogous
#2F7EAE #2F3FAE #5E2FAE
triadic
#2F3FAE #AE2F3F #3FAE2F
tetradic
#2F3FAE #AE2F7E #AE9E2F #2FAE5E
square
#2F3FAE #AE2F7E #AE9E2F #2FAE5E
split-complementary
#2F3FAE #AE5E2F #7EAE2F
monochromatic
#151C4E #222E7E #2F3FAE #4C5CCF #7C88DC

Accessibility & contrast

On white

8.60
#2F3FAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F3FAE
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FAE#FFFFFF#000000##FFFFFF
##2F3FAE1.008.602.448.60
#FFFFFF8.601.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B2
Deuteranopia (green-blind)
#0046AC
Tritanopia (blue-blind)
#005C70
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3fae;
/* rgb */ color: rgb(47, 63, 174);
/* oklch */ color: oklch(42.9% 0.176 270.6);
Tailwind
colors: {
  custom: {
    50: '#7a74c7',
    500: '#2f3fae',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fae;
$custom-light: #7a74c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fae",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 174
  },
  "hsl": {
    "h": 232.441,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.42916,
    "c": 0.17629,
    "h": 270.6
  },
  "luminance": 0.07215
}

Semantic roles & 50–950 ramp

primary
#2F3FAE
secondary
#C4BA75
accent
#CD47E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3FAE

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

Preview Lab → · Contrast checker → · Palette generator →

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