#2F3083#2F3083

#2F3083 is a dark, vivid blue. Relative luminance 0.044; OKLCH L 36.3% C 0.136 H 276.7°. Best body text is #FFFFFF at 11.22:1 contrast (WCAG AA passes).

Color values

HEX#2F3083
RGBrgb(47, 48, 131)
HSLhsl(239, 47%, 35%)
HSVhsv(239, 64%, 51%)
CMYKcmyk(64.1%, 63.4%, 0%, 48.6%)
CIE-LABlab(24.82, 26.68, -46.94)
CIE-LCHlch(24.82, 54.00, 299.61°)
OKLaboklab(36.27% 0.0158 -0.1351)
OKLCHoklch(36.27% 0.136 276.7)
XYZxyz(6.3246, 4.3564, 21.9759)
Luminance0.0436 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3083 #83822F
analogous
#2F5A83 #2F3083 #582F83
triadic
#2F3083 #832F30 #30832F
tetradic
#2F3083 #832F5A #83822F #2F8358
square
#2F3083 #832F5A #83822F #2F8358
split-complementary
#2F3083 #83582F #5A832F
monochromatic
#0F0F29 #1F1F56 #2F3083 #3F41B0 #6566C8

Accessibility & contrast

On white

11.22
#2F3083 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2F3083 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3083
11.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3083#FFFFFF#000000##FFFFFF
##2F30831.0011.221.8711.22
#FFFFFF11.221.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F86
Deuteranopia (green-blind)
#003781
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2f3083;
/* rgb */ color: rgb(47, 48, 131);
/* oklch */ color: oklch(36.3% 0.136 276.7);
Tailwind
colors: {
  custom: {
    50: '#7268a8',
    500: '#2f3083',
    950: '#000000',
  },
}
SCSS
$custom: #2f3083;
$custom-light: #7268a8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3083",
  "rgb": {
    "r": 47,
    "g": 48,
    "b": 131
  },
  "hsl": {
    "h": 239.286,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36272,
    "c": 0.13605,
    "h": 276.7
  },
  "luminance": 0.04357
}

Semantic roles & 50–950 ramp

primary
#2F3083
secondary
#AFAE5F
accent
#D551D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2F3083

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

Preview Lab → · Contrast checker → · Palette generator →

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