#2F3CA4#2F3CA4

#2F3CA4 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.5% C 0.167 H 271.5°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#2F3CA4
RGBrgb(47, 60, 164)
HSLhsl(233, 55%, 41%)
HSVhsv(233, 71%, 64%)
CMYKcmyk(71.3%, 63.4%, 0%, 35.7%)
CIE-LABlab(30.68, 30.74, -57.65)
CIE-LCHlch(30.68, 65.34, 298.06°)
OKLaboklab(41.46% 0.0043 -0.1665)
OKLCHoklch(41.46% 0.167 271.5)
XYZxyz(9.4867, 6.5155, 35.8724)
Luminance0.0652 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CA4 #A4972F
analogous
#2F77A4 #2F3CA4 #5D2FA4
triadic
#2F3CA4 #A42F3C #3CA42F
tetradic
#2F3CA4 #A42F77 #A4972F #2FA45D
square
#2F3CA4 #A42F77 #A4972F #2FA45D
split-complementary
#2F3CA4 #A45D2F #77A42F
monochromatic
#141945 #212B74 #2F3CA4 #4655CA #7681D8

Accessibility & contrast

On white

9.12
#2F3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#2F3CA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CA4
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CA4#FFFFFF#000000##FFFFFF
##2F3CA41.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA7
Deuteranopia (green-blind)
#0043A2
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2f3ca4;
/* rgb */ color: rgb(47, 60, 164);
/* oklch */ color: oklch(41.5% 0.167 271.5);
Tailwind
colors: {
  custom: {
    50: '#7871c0',
    500: '#2f3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ca4;
$custom-light: #7871c0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ca4",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 233.333,
    "s": 55.45,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41462,
    "c": 0.16652,
    "h": 271.5
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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