#2F3FBD#2F3FBD

#2F3FBD is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.3% C 0.196 H 270.2°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2F3FBD
RGBrgb(47, 63, 189)
HSLhsl(233, 60%, 46%)
HSVhsv(233, 75%, 74%)
CMYKcmyk(75.1%, 66.7%, 0%, 25.9%)
CIE-LABlab(33.63, 37.82, -67.70)
CIE-LCHlch(33.63, 77.55, 299.19°)
OKLaboklab(44.31% 0.0009 -0.1959)
OKLCHoklch(44.31% 0.196 270.2)
XYZxyz(12.1320, 7.8322, 49.0066)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3FBD #BDAD2F
analogous
#2F86BD #2F3FBD #662FBD
triadic
#2F3FBD #BD2F3F #3FBD2F
tetradic
#2F3FBD #BD2F86 #BDAD2F #2FBD66
square
#2F3FBD #BD2F86 #BDAD2F #2FBD66
split-complementary
#2F3FBD #BD662F #86BD2F
monochromatic
#171E5B #232F8C #2F3FBD #5563D5 #8690E1

Accessibility & contrast

On white

8.18
#2F3FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F3FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3FBD
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3FBD#FFFFFF#000000##FFFFFF
##2F3FBD1.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0048BB
Tritanopia (blue-blind)
#006178
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f3fbd;
/* rgb */ color: rgb(47, 63, 189);
/* oklch */ color: oklch(44.3% 0.196 270.2);
Tailwind
colors: {
  custom: {
    50: '#7d74d2',
    500: '#2f3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #2f3fbd;
$custom-light: #7d74d2;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3fbd",
  "rgb": {
    "r": 47,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 233.239,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.44309,
    "c": 0.19586,
    "h": 270.2
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#2F3FBD
secondary
#CAC27E
accent
#D144E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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