#2F3DB3#2F3DB3

#2F3DB3 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 43.0% C 0.185 H 270.9°. Best body text is #FFFFFF at 8.61:1 contrast (WCAG AA passes).

Color values

HEX#2F3DB3
RGBrgb(47, 61, 179)
HSLhsl(234, 58%, 44%)
HSVhsv(234, 74%, 70%)
CMYKcmyk(73.7%, 65.9%, 0%, 29.8%)
CIE-LABlab(32.25, 35.51, -64.06)
CIE-LCHlch(32.25, 73.24, 299.00°)
OKLaboklab(43.02% 0.0028 -0.1852)
OKLCHoklch(43.02% 0.185 270.9)
XYZxyz(10.9749, 7.1954, 43.4495)
Luminance0.0720 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DB3 #B3A52F
analogous
#2F7FB3 #2F3DB3 #632FB3
triadic
#2F3DB3 #B32F3D #3DB32F
tetradic
#2F3DB3 #B32F7F #B3A52F #2FB363
square
#2F3DB3 #B32F7F #B3A52F #2FB363
split-complementary
#2F3DB3 #B3632F #7FB32F
monochromatic
#161C52 #222C83 #2F3DB3 #4F5CD1 #7F89DD

Accessibility & contrast

On white

8.61
#2F3DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.44
#2F3DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DB3
8.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DB3#FFFFFF#000000##FFFFFF
##2F3DB31.008.612.448.61
#FFFFFF8.611.0021.001.00
#0000002.4421.001.0021.00
##FFFFFF8.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0046B1
Tritanopia (blue-blind)
#005C72
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f3db3;
/* rgb */ color: rgb(47, 61, 179);
/* oklch */ color: oklch(43.0% 0.185 270.9);
Tailwind
colors: {
  custom: {
    50: '#7b72cb',
    500: '#2f3db3',
    950: '#000000',
  },
}
SCSS
$custom: #2f3db3;
$custom-light: #7b72cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3db3",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 179
  },
  "hsl": {
    "h": 233.636,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.43021,
    "c": 0.18524,
    "h": 270.9
  },
  "luminance": 0.07196
}

Semantic roles & 50–950 ramp

primary
#2F3DB3
secondary
#C6BE78
accent
#D146E2
background
#F8F6FC
surface
#EFECF9
border
#CAC7D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F3DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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