#2F3289#2F3289

#2F3289 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.2% C 0.142 H 275.5°. Best body text is #FFFFFF at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#2F3289
RGBrgb(47, 50, 137)
HSLhsl(238, 49%, 36%)
HSVhsv(238, 66%, 54%)
CMYKcmyk(65.7%, 63.5%, 0%, 46.3%)
CIE-LABlab(25.84, 27.51, -49.03)
CIE-LCHlch(25.84, 56.22, 299.30°)
OKLaboklab(37.18% 0.0137 -0.1412)
OKLCHoklch(37.18% 0.142 275.5)
XYZxyz(6.8268, 4.6911, 24.2078)
Luminance0.0469 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3289 #89862F
analogous
#2F5F89 #2F3289 #592F89
triadic
#2F3289 #892F32 #32892F
tetradic
#2F3289 #892F5F #89862F #2F8959
square
#2F3289 #892F5F #89862F #2F8959
split-complementary
#2F3289 #89592F #5F892F
monochromatic
#10112E #1F215B #2F3289 #3F43B7 #676BCB

Accessibility & contrast

On white

10.83
#2F3289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#2F3289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3289
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3289#FFFFFF#000000##FFFFFF
##2F32891.0010.831.9410.83
#FFFFFF10.831.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00418C
Deuteranopia (green-blind)
#003987
Tritanopia (blue-blind)
#004858
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3289;
/* rgb */ color: rgb(47, 50, 137);
/* oklch */ color: oklch(37.2% 0.142 275.5);
Tailwind
colors: {
  custom: {
    50: '#736aac',
    500: '#2f3289',
    950: '#000000',
  },
}
SCSS
$custom: #2f3289;
$custom-light: #736aac;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3289",
  "rgb": {
    "r": 47,
    "g": 50,
    "b": 137
  },
  "hsl": {
    "h": 238,
    "s": 48.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.3718,
    "c": 0.14189,
    "h": 275.5
  },
  "luminance": 0.04692
}

Semantic roles & 50–950 ramp

primary
#2F3289
secondary
#B2AF62
accent
#D44FD8
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#090610
muted
#7B7A7F

Preview Lab

Preview with #2F3289

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

Preview Lab → · Contrast checker → · Palette generator →

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