#2F3CB7#2F3CB7

#2F3CB7 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 43.2% C 0.192 H 270.9°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#2F3CB7
RGBrgb(47, 60, 183)
HSLhsl(234, 59%, 45%)
HSVhsv(234, 74%, 72%)
CMYKcmyk(74.3%, 67.2%, 0%, 28.2%)
CIE-LABlab(32.38, 37.57, -66.22)
CIE-LCHlch(32.38, 76.13, 299.57°)
OKLaboklab(43.23% 0.0031 -0.1915)
OKLCHoklch(43.23% 0.192 270.9)
XYZxyz(11.3325, 7.2538, 45.5934)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3CB7 #B7AA2F
analogous
#2F80B7 #2F3CB7 #662FB7
triadic
#2F3CB7 #B72F3C #3CB72F
tetradic
#2F3CB7 #B72F80 #B7AA2F #2FB766
square
#2F3CB7 #B72F80 #B7AA2F #2FB766
split-complementary
#2F3CB7 #B7662F #80B72F
monochromatic
#161C56 #222C86 #2F3CB7 #515DD2 #828BDF

Accessibility & contrast

On white

8.57
#2F3CB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F3CB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3CB7
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3CB7#FFFFFF#000000##FFFFFF
##2F3CB71.008.572.458.57
#FFFFFF8.571.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0046B5
Tritanopia (blue-blind)
#005D74
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3cb7;
/* rgb */ color: rgb(47, 60, 183);
/* oklch */ color: oklch(43.2% 0.192 270.9);
Tailwind
colors: {
  custom: {
    50: '#7c72ce',
    500: '#2f3cb7',
    950: '#000000',
  },
}
SCSS
$custom: #2f3cb7;
$custom-light: #7c72ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3cb7",
  "rgb": {
    "r": 47,
    "g": 60,
    "b": 183
  },
  "hsl": {
    "h": 234.265,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.43228,
    "c": 0.19155,
    "h": 270.9
  },
  "luminance": 0.07255
}

Semantic roles & 50–950 ramp

primary
#2F3CB7
secondary
#C8C07A
accent
#D345E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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