#2F3DBE#2F3DBE

#2F3DBE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 44.1% C 0.199 H 270.5°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#2F3DBE
RGBrgb(47, 61, 190)
HSLhsl(234, 60%, 46%)
HSVhsv(234, 75%, 75%)
CMYKcmyk(75.3%, 67.9%, 0%, 25.5%)
CIE-LABlab(33.26, 39.42, -68.90)
CIE-LCHlch(33.26, 79.38, 299.78°)
OKLaboklab(44.07% 0.0019 -0.1994)
OKLCHoklch(44.07% 0.199 270.5)
XYZxyz(12.1321, 7.6582, 49.5440)
Luminance0.0766 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3DBE #BEB02F
analogous
#2F85BE #2F3DBE #692FBE
triadic
#2F3DBE #BE2F3D #3DBE2F
tetradic
#2F3DBE #BE2F85 #BEB02F #2FBE69
square
#2F3DBE #BE2F85 #BEB02F #2FBE69
split-complementary
#2F3DBE #BE692F #85BE2F
monochromatic
#171D5C #232D8D #2F3DBE #5562D5 #868FE1

Accessibility & contrast

On white

8.29
#2F3DBE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F3DBE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3DBE
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3DBE#FFFFFF#000000##FFFFFF
##2F3DBE1.008.292.538.29
#FFFFFF8.291.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055C2
Deuteranopia (green-blind)
#0047BC
Tritanopia (blue-blind)
#006078
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f3dbe;
/* rgb */ color: rgb(47, 61, 190);
/* oklch */ color: oklch(44.1% 0.199 270.5);
Tailwind
colors: {
  custom: {
    50: '#7e73d3',
    500: '#2f3dbe',
    950: '#000000',
  },
}
SCSS
$custom: #2f3dbe;
$custom-light: #7e73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3dbe",
  "rgb": {
    "r": 47,
    "g": 61,
    "b": 190
  },
  "hsl": {
    "h": 234.126,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.44068,
    "c": 0.19937,
    "h": 270.5
  },
  "luminance": 0.0766
}

Semantic roles & 50–950 ramp

primary
#2F3DBE
secondary
#CBC37E
accent
#D444E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0C0814
muted
#7D7B83

Preview Lab

Preview with #2F3DBE

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

Preview Lab → · Contrast checker → · Palette generator →

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