#2F3EBA#2F3EBA

#2F3EBA is a dark, vivid blue. Relative luminance 0.076; OKLCH L 43.9% C 0.193 H 270.5°. Best body text is #FFFFFF at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#2F3EBA
RGBrgb(47, 62, 186)
HSLhsl(234, 60%, 46%)
HSVhsv(234, 75%, 73%)
CMYKcmyk(74.7%, 66.7%, 0%, 27.1%)
CIE-LABlab(33.12, 37.38, -66.77)
CIE-LCHlch(33.12, 76.52, 299.24°)
OKLaboklab(43.85% 0.0017 -0.1931)
OKLCHoklch(43.85% 0.193 270.5)
XYZxyz(11.7548, 7.5935, 47.2910)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F3EBA #BAAB2F
analogous
#2F83BA #2F3EBA #652FBA
triadic
#2F3EBA #BA2F3E #3EBA2F
tetradic
#2F3EBA #BA2F83 #BAAB2F #2FBA65
square
#2F3EBA #BA2F83 #BAAB2F #2FBA65
split-complementary
#2F3EBA #BA652F #83BA2F
monochromatic
#161D58 #232E89 #2F3EBA #5361D3 #848EE0

Accessibility & contrast

On white

8.34
#2F3EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.52
#2F3EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F3EBA
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F3EBA#FFFFFF#000000##FFFFFF
##2F3EBA1.008.342.528.34
#FFFFFF8.341.0021.001.00
#0000002.5221.001.0021.00
##FFFFFF8.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0047B8
Tritanopia (blue-blind)
#005F76
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f3eba;
/* rgb */ color: rgb(47, 62, 186);
/* oklch */ color: oklch(43.9% 0.193 270.5);
Tailwind
colors: {
  custom: {
    50: '#7d73d0',
    500: '#2f3eba',
    950: '#000000',
  },
}
SCSS
$custom: #2f3eba;
$custom-light: #7d73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#2f3eba",
  "rgb": {
    "r": 47,
    "g": 62,
    "b": 186
  },
  "hsl": {
    "h": 233.525,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.43854,
    "c": 0.19315,
    "h": 270.5
  },
  "luminance": 0.07595
}

Semantic roles & 50–950 ramp

primary
#2F3EBA
secondary
#C9C17C
accent
#D245E3
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F3EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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