#2F3BA2#2F3BA2

#2F3BA2 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.1% C 0.165 H 271.8°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2F3BA2
RGBrgb(47, 59, 162)
HSLhsl(234, 55%, 41%)
HSVhsv(234, 71%, 64%)
CMYKcmyk(71%, 63.6%, 0%, 36.5%)
CIE-LABlab(30.25, 30.66, -57.14)
CIE-LCHlch(30.25, 64.85, 298.22°)
OKLaboklab(41.1% 0.0052 -0.165)
OKLCHoklch(41.1% 0.165 271.8)
XYZxyz(9.2556, 6.3400, 34.9114)
Luminance0.0634 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BA2 #A2962F
analogous
#2F74A2 #2F3BA2 #5C2FA2
triadic
#2F3BA2 #A22F3B #3BA22F
tetradic
#2F3BA2 #A22F74 #A2962F #2FA25C
square
#2F3BA2 #A22F74 #A2962F #2FA25C
split-complementary
#2F3BA2 #A25C2F #74A22F
monochromatic
#131843 #212A73 #2F3BA2 #4553C9 #757FD7

Accessibility & contrast

On white

9.26
#2F3BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2F3BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BA2
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BA2#FFFFFF#000000##FFFFFF
##2F3BA21.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA5
Deuteranopia (green-blind)
#0042A0
Tritanopia (blue-blind)
#005569
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2f3ba2;
/* rgb */ color: rgb(47, 59, 162);
/* oklch */ color: oklch(41.1% 0.165 271.8);
Tailwind
colors: {
  custom: {
    50: '#7771be',
    500: '#2f3ba2',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ba2;
$custom-light: #7771be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ba2",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 162
  },
  "hsl": {
    "h": 233.739,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.16504,
    "h": 271.8
  },
  "luminance": 0.06341
}

Semantic roles & 50–950 ramp

primary
#2F3BA2
secondary
#BFB66E
accent
#CF49DE
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F3BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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