#2F3383#2F3383

#2F3383 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.8% C 0.132 H 275.6°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#2F3383
RGBrgb(47, 51, 131)
HSLhsl(237, 47%, 35%)
HSVhsv(237, 64%, 51%)
CMYKcmyk(64.1%, 61.1%, 0%, 48.6%)
CIE-LABlab(25.59, 24.67, -45.68)
CIE-LCHlch(25.59, 51.92, 298.38°)
OKLaboklab(36.85% 0.013 -0.1314)
OKLCHoklch(36.85% 0.132 275.6)
XYZxyz(6.4515, 4.6102, 22.0182)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3383 #837F2F
analogous
#2F5D83 #2F3383 #552F83
triadic
#2F3383 #832F33 #33832F
tetradic
#2F3383 #832F5D #837F2F #2F8355
square
#2F3383 #832F5D #837F2F #2F8355
split-complementary
#2F3383 #83552F #5D832F
monochromatic
#0F1029 #1F2156 #2F3383 #3F45B0 #6569C8

Accessibility & contrast

On white

10.92
#2F3383 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F3383 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3383
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3383#FFFFFF#000000##FFFFFF
##2F33831.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#003981
Tritanopia (blue-blind)
#004656
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f3383;
/* rgb */ color: rgb(47, 51, 131);
/* oklch */ color: oklch(36.8% 0.132 275.6);
Tailwind
colors: {
  custom: {
    50: '#716aa8',
    500: '#2f3383',
    950: '#000000',
  },
}
SCSS
$custom: #2f3383;
$custom-light: #716aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3383",
  "rgb": {
    "r": 47,
    "g": 51,
    "b": 131
  },
  "hsl": {
    "h": 237.143,
    "s": 47.191,
    "l": 34.902
  },
  "oklch": {
    "l": 0.36845,
    "c": 0.13202,
    "h": 275.6
  },
  "luminance": 0.04611
}

Semantic roles & 50–950 ramp

primary
#2F3383
secondary
#AFAB5F
accent
#D051D7
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #2F3383

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

Preview Lab → · Contrast checker → · Palette generator →

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