#2F34BD#2F34BD

#2F34BD is a dark, highly saturated blue. Relative luminance 0.067; OKLCH L 42.5% C 0.208 H 271.8°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#2F34BD
RGBrgb(47, 52, 189)
HSLhsl(238, 60%, 46%)
HSVhsv(238, 75%, 74%)
CMYKcmyk(75.1%, 72.5%, 0%, 25.9%)
CIE-LABlab(31.19, 44.48, -71.72)
CIE-LCHlch(31.19, 84.39, 301.81°)
OKLaboklab(42.55% 0.0066 -0.2076)
OKLCHoklch(42.55% 0.208 271.8)
XYZxyz(11.5825, 6.7332, 48.8235)
Luminance0.0673 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F34BD #BDB82F
analogous
#2F7BBD #2F34BD #712FBD
triadic
#2F34BD #BD2F34 #34BD2F
tetradic
#2F34BD #BD2F7B #BDB82F #2FBD71
square
#2F34BD #BD2F7B #BDB82F #2FBD71
split-complementary
#2F34BD #BD712F #7BBD2F
monochromatic
#17195B #23278C #2F34BD #5559D5 #8689E1

Accessibility & contrast

On white

8.95
#2F34BD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2F34BD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F34BD
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F34BD#FFFFFF#000000##FFFFFF
##2F34BD1.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050C1
Deuteranopia (green-blind)
#0042BB
Tritanopia (blue-blind)
#005B75
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2f34bd;
/* rgb */ color: rgb(47, 52, 189);
/* oklch */ color: oklch(42.5% 0.208 271.8);
Tailwind
colors: {
  custom: {
    50: '#7e6dd2',
    500: '#2f34bd',
    950: '#000000',
  },
}
SCSS
$custom: #2f34bd;
$custom-light: #7e6dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f34bd",
  "rgb": {
    "r": 47,
    "g": 52,
    "b": 189
  },
  "hsl": {
    "h": 237.887,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.42548,
    "c": 0.20767,
    "h": 271.8
  },
  "luminance": 0.06734
}

Semantic roles & 50–950 ramp

primary
#2F34BD
secondary
#CAC87E
accent
#DE44E3
background
#F8F6FD
surface
#F0EBFA
border
#CBC6D3
text
#0C0714
muted
#7D7A83

Preview Lab

Preview with #2F34BD

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

Preview Lab → · Contrast checker → · Palette generator →

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