#2F3DA9#2F3DA9

#2F3DA9 is a dark, vivid blue. Relative luminance 0.068; OKLCH L 42.1% C 0.172 H 271.1°. Best body text is #FFFFFF at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#2F3DA9
RGBrgb(47, 61, 169)
HSLhsl(233, 56%, 42%)
HSVhsv(233, 72%, 66%)
CMYKcmyk(72.2%, 63.9%, 0%, 33.7%)
CIE-LABlab(31.36, 31.91, -59.54)
CIE-LCHlch(31.36, 67.55, 298.18°)
OKLaboklab(42.1% 0.0034 -0.172)
OKLCHoklch(42.1% 0.172 271.1)
XYZxyz(10.0000, 6.8054, 38.3150)
Luminance0.0681 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DA9 #A99B2F
analogous
#2F7AA9 #2F3DA9 #5E2FA9
triadic
#2F3DA9 #A92F3D #3DA92F
tetradic
#2F3DA9 #A92F7A #A99B2F #2FA95E
square
#2F3DA9 #A92F7A #A99B2F #2FA95E
split-complementary
#2F3DA9 #A95E2F #7AA92F
monochromatic
#141A49 #222C79 #2F3DA9 #4958CC #7984DA

Accessibility & contrast

On white

8.89
#2F3DA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#2F3DA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DA9
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DA9#FFFFFF#000000##FFFFFF
##2F3DA91.008.892.368.89
#FFFFFF8.891.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050AC
Deuteranopia (green-blind)
#0044A7
Tritanopia (blue-blind)
#00596D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2f3da9;
/* rgb */ color: rgb(47, 61, 169);
/* oklch */ color: oklch(42.1% 0.172 271.1);
Tailwind
colors: {
  custom: {
    50: '#7972c4',
    500: '#2f3da9',
    950: '#000000',
  },
}
SCSS
$custom: #2f3da9;
$custom-light: #7972c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3da9",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 169
  },
  "hsl": {
    "h": 233.115,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.42098,
    "c": 0.17203,
    "h": 271.1
  },
  "luminance": 0.06806
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F3DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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