#2F3481#2F3481

#2F3481 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.9% C 0.128 H 275.4°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#2F3481
RGBrgb(47, 52, 129)
HSLhsl(236, 47%, 35%)
HSVhsv(236, 64%, 51%)
CMYKcmyk(63.6%, 59.7%, 0%, 49.4%)
CIE-LABlab(25.70, 23.27, -44.26)
CIE-LCHlch(25.70, 50.00, 297.74°)
OKLaboklab(36.87% 0.012 -0.1272)
OKLCHoklch(36.87% 0.128 275.4)
XYZxyz(6.3614, 4.6448, 21.3259)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3481 #817C2F
analogous
#2F5D81 #2F3481 #532F81
triadic
#2F3481 #812F34 #34812F
tetradic
#2F3481 #812F5D #817C2F #2F8153
square
#2F3481 #812F5D #817C2F #2F8153
split-complementary
#2F3481 #81532F #5D812F
monochromatic
#0E1027 #1F2254 #2F3481 #3F46AE #646AC6

Accessibility & contrast

On white

10.89
#2F3481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#2F3481 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3481
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3481#FFFFFF#000000##FFFFFF
##2F34811.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004084
Deuteranopia (green-blind)
#00397F
Tritanopia (blue-blind)
#004755
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3481;
/* rgb */ color: rgb(47, 52, 129);
/* oklch */ color: oklch(36.9% 0.128 275.4);
Tailwind
colors: {
  custom: {
    50: '#716ba6',
    500: '#2f3481',
    950: '#000000',
  },
}
SCSS
$custom: #2f3481;
$custom-light: #716ba6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3481",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 236.341,
    "s": 46.591,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36871,
    "c": 0.12774,
    "h": 275.4
  },
  "luminance": 0.04645
}

Semantic roles & 50–950 ramp

primary
#2F3481
secondary
#ADA95E
accent
#CE52D6
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #2F3481

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

Preview Lab → · Contrast checker → · Palette generator →

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