#2F3783#2F3783

#2F3783 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 37.6% C 0.127 H 274.1°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2F3783
RGBrgb(47, 55, 131)
HSLhsl(234, 47%, 35%)
HSVhsv(234, 64%, 51%)
CMYKcmyk(64.1%, 58%, 0%, 48.6%)
CIE-LABlab(26.66, 21.97, -43.94)
CIE-LCHlch(26.66, 49.13, 296.56°)
OKLaboklab(37.64% 0.009 -0.1262)
OKLCHoklch(37.64% 0.127 274.1)
XYZxyz(6.6339, 4.9749, 22.0790)
Luminance0.0498 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3783 #837B2F
analogous
#2F6183 #2F3783 #512F83
triadic
#2F3783 #832F37 #37832F
tetradic
#2F3783 #832F61 #837B2F #2F8351
square
#2F3783 #832F61 #837B2F #2F8351
split-complementary
#2F3783 #83512F #61832F
monochromatic
#0F1129 #1F2456 #2F3783 #3F4AB0 #656EC8

Accessibility & contrast

On white

10.53
#2F3783 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#2F3783 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3783
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3783#FFFFFF#000000##FFFFFF
##2F37831.0010.532.0010.53
#FFFFFF10.531.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004386
Deuteranopia (green-blind)
#003B81
Tritanopia (blue-blind)
#004957
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2f3783;
/* rgb */ color: rgb(47, 55, 131);
/* oklch */ color: oklch(37.6% 0.127 274.1);
Tailwind
colors: {
  custom: {
    50: '#716da8',
    500: '#2f3783',
    950: '#000000',
  },
}
SCSS
$custom: #2f3783;
$custom-light: #716da8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3783",
  "rgb": {
    "r": 47,
    "g": 55,
    "b": 131
  },
  "hsl": {
    "h": 234.286,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.3764,
    "c": 0.12655,
    "h": 274.1
  },
  "luminance": 0.04975
}

Semantic roles & 50–950 ramp

primary
#2F3783
secondary
#AFA75F
accent
#CA51D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #2F3783

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

Preview Lab → · Contrast checker → · Palette generator →

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