#2F3BAA#2F3BAA

#2F3BAA is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.8% C 0.176 H 271.5°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#2F3BAA
RGBrgb(47, 59, 170)
HSLhsl(234, 57%, 43%)
HSVhsv(234, 72%, 67%)
CMYKcmyk(72.4%, 65.3%, 0%, 33.3%)
CIE-LABlab(30.96, 33.56, -60.80)
CIE-LCHlch(30.96, 69.45, 298.89°)
OKLaboklab(41.83% 0.0047 -0.1757)
OKLCHoklch(41.83% 0.176 271.5)
XYZxyz(9.9895, 6.6335, 38.7764)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BAA #AA9E2F
analogous
#2F79AA #2F3BAA #602FAA
triadic
#2F3BAA #AA2F3B #3BAA2F
tetradic
#2F3BAA #AA2F79 #AA9E2F #2FAA60
square
#2F3BAA #AA2F79 #AA9E2F #2FAA60
split-complementary
#2F3BAA #AA602F #79AA2F
monochromatic
#141A4A #222A7A #2F3BAA #4956CD #7983DA

Accessibility & contrast

On white

9.02
#2F3BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#2F3BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BAA
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BAA#FFFFFF#000000##FFFFFF
##2F3BAA1.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAE
Deuteranopia (green-blind)
#0043A8
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f3baa;
/* rgb */ color: rgb(47, 59, 170);
/* oklch */ color: oklch(41.8% 0.176 271.5);
Tailwind
colors: {
  custom: {
    50: '#7971c4',
    500: '#2f3baa',
    950: '#000000',
  },
}
SCSS
$custom: #2f3baa;
$custom-light: #7971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3baa",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 170
  },
  "hsl": {
    "h": 234.146,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4183,
    "c": 0.17575,
    "h": 271.5
  },
  "luminance": 0.06635
}

Semantic roles & 50–950 ramp

primary
#2F3BAA
secondary
#C2BB72
accent
#D148E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #2F3BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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