#2F3CA9#2F3CA9

#2F3CA9 is a dark, vivid blue. Relative luminance 0.067; OKLCH L 41.9% C 0.173 H 271.4°. Best body text is #FFFFFF at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#2F3CA9
RGBrgb(47, 60, 169)
HSLhsl(234, 56%, 42%)
HSVhsv(234, 72%, 66%)
CMYKcmyk(72.2%, 64.5%, 0%, 33.7%)
CIE-LABlab(31.11, 32.55, -59.95)
CIE-LCHlch(31.11, 68.22, 298.50°)
OKLaboklab(41.92% 0.0041 -0.1732)
OKLCHoklch(41.92% 0.173 271.4)
XYZxyz(9.9472, 6.6996, 38.2974)
Luminance0.0670 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CA9 #A99C2F
analogous
#2F79A9 #2F3CA9 #5F2FA9
triadic
#2F3CA9 #A92F3C #3CA92F
tetradic
#2F3CA9 #A92F79 #A99C2F #2FA95F
square
#2F3CA9 #A92F79 #A99C2F #2FA95F
split-complementary
#2F3CA9 #A95F2F #79A92F
monochromatic
#141A49 #222B79 #2F3CA9 #4957CC #7983DA

Accessibility & contrast

On white

8.97
#2F3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#2F3CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CA9
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CA9#FFFFFF#000000##FFFFFF
##2F3CA91.008.972.348.97
#FFFFFF8.971.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00586D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f3ca9;
/* rgb */ color: rgb(47, 60, 169);
/* oklch */ color: oklch(41.9% 0.173 271.4);
Tailwind
colors: {
  custom: {
    50: '#7971c4',
    500: '#2f3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #2f3ca9;
$custom-light: #7971c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3ca9",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 233.607,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.41917,
    "c": 0.17324,
    "h": 271.4
  },
  "luminance": 0.06701
}

Semantic roles & 50–950 ramp

primary
#2F3CA9
secondary
#C2B972
accent
#D048E0
background
#F8F6FC
surface
#EFECF8
border
#CAC7D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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