#2F3883#2F3883

#2F3883 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.8% C 0.125 H 273.7°. Best body text is #FFFFFF at 10.43:1 contrast (WCAG AA passes).

Color values

HEX#2F3883
RGBrgb(47, 56, 131)
HSLhsl(234, 47%, 35%)
HSVhsv(234, 64%, 51%)
CMYKcmyk(64.1%, 57.3%, 0%, 48.6%)
CIE-LABlab(26.94, 21.29, -43.50)
CIE-LCHlch(26.94, 48.43, 296.08°)
OKLaboklab(37.84% 0.008 -0.1249)
OKLCHoklch(37.84% 0.125 273.7)
XYZxyz(6.6818, 5.0708, 22.0950)
Luminance0.0507 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3883 #837A2F
analogous
#2F6283 #2F3883 #502F83
triadic
#2F3883 #832F38 #38832F
tetradic
#2F3883 #832F62 #837A2F #2F8350
square
#2F3883 #832F62 #837A2F #2F8350
split-complementary
#2F3883 #83502F #62832F
monochromatic
#0F1129 #1F2556 #2F3883 #3F4BB0 #656FC8

Accessibility & contrast

On white

10.43
#2F3883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.01
#2F3883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3883
10.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3883#FFFFFF#000000##FFFFFF
##2F38831.0010.432.0110.43
#FFFFFF10.431.0021.001.00
#0000002.0121.001.0021.00
##FFFFFF10.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003C81
Tritanopia (blue-blind)
#004A58
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2f3883;
/* rgb */ color: rgb(47, 56, 131);
/* oklch */ color: oklch(37.8% 0.125 273.7);
Tailwind
colors: {
  custom: {
    50: '#716ea8',
    500: '#2f3883',
    950: '#000000',
  },
}
SCSS
$custom: #2f3883;
$custom-light: #716ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3883",
  "rgb": {
    "r": 47,
    "g": 56,
    "b": 131
  },
  "hsl": {
    "h": 233.571,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.37843,
    "c": 0.12518,
    "h": 273.7
  },
  "luminance": 0.05071
}

Semantic roles & 50–950 ramp

primary
#2F3883
secondary
#AFA65F
accent
#C851D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3883

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

Preview Lab → · Contrast checker → · Palette generator →

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