#2F3BA4#2F3BA4

#2F3BA4 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.3% C 0.168 H 271.7°. Best body text is #FFFFFF at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#2F3BA4
RGBrgb(47, 59, 164)
HSLhsl(234, 55%, 41%)
HSVhsv(234, 71%, 64%)
CMYKcmyk(71.3%, 64%, 0%, 35.7%)
CIE-LABlab(30.43, 31.39, -58.06)
CIE-LCHlch(30.43, 66.00, 298.39°)
OKLaboklab(41.28% 0.0051 -0.1677)
OKLCHoklch(41.28% 0.168 271.7)
XYZxyz(9.4348, 6.4117, 35.8551)
Luminance0.0641 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3BA4 #A4982F
analogous
#2F76A4 #2F3BA4 #5E2FA4
triadic
#2F3BA4 #A42F3B #3BA42F
tetradic
#2F3BA4 #A42F76 #A4982F #2FA45E
square
#2F3BA4 #A42F76 #A4982F #2FA45E
split-complementary
#2F3BA4 #A45E2F #76A42F
monochromatic
#141945 #212A74 #2F3BA4 #4654CA #7680D8

Accessibility & contrast

On white

9.20
#2F3BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.28
#2F3BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3BA4
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3BA4#FFFFFF#000000##FFFFFF
##2F3BA41.009.202.289.20
#FFFFFF9.201.0021.001.00
#0000002.2821.001.0021.00
##FFFFFF9.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA7
Deuteranopia (green-blind)
#0042A2
Tritanopia (blue-blind)
#00566A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f3ba4;
/* rgb */ color: rgb(47, 59, 164);
/* oklch */ color: oklch(41.3% 0.168 271.7);
Tailwind
colors: {
  custom: {
    50: '#7871c0',
    500: '#2f3ba4',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ba4;
$custom-light: #7871c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ba4",
  "rgb": {
    "r": 47,
    "g": 59,
    "b": 164
  },
  "hsl": {
    "h": 233.846,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41279,
    "c": 0.16774,
    "h": 271.7
  },
  "luminance": 0.06413
}

Semantic roles & 50–950 ramp

primary
#2F3BA4
secondary
#C0B76F
accent
#CF49DF
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #2F3BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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