#2F43B5#2F43B5

#2F43B5 is a dark, vivid blue. Relative luminance 0.080; OKLCH L 44.3% C 0.181 H 269.6°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#2F43B5
RGBrgb(47, 67, 181)
HSLhsl(231, 59%, 45%)
HSVhsv(231, 74%, 71%)
CMYKcmyk(74%, 63%, 0%, 29%)
CIE-LABlab(33.89, 32.40, -62.56)
CIE-LCHlch(33.89, 70.45, 297.38°)
OKLaboklab(44.28% -0.0012 -0.1808)
OKLCHoklch(44.28% 0.181 269.6)
XYZxyz(11.5171, 7.9536, 44.6353)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43B5 #B5A12F
analogous
#2F86B5 #2F43B5 #5E2FB5
triadic
#2F43B5 #B52F43 #43B52F
tetradic
#2F43B5 #B52F86 #B5A12F #2FB55E
square
#2F43B5 #B52F86 #B5A12F #2FB55E
split-complementary
#2F43B5 #B55E2F #86B52F
monochromatic
#161F54 #223184 #2F43B5 #5063D1 #808EDE

Accessibility & contrast

On white

8.10
#2F43B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2F43B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43B5
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43B5#FFFFFF#000000##FFFFFF
##2F43B51.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006075
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f43b5;
/* rgb */ color: rgb(47, 67, 181);
/* oklch */ color: oklch(44.3% 0.181 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b77cc',
    500: '#2f43b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f43b5;
$custom-light: #7b77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43b5",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 181
  },
  "hsl": {
    "h": 231.045,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44278,
    "c": 0.18078,
    "h": 269.6
  },
  "luminance": 0.07955
}

Semantic roles & 50–950 ramp

primary
#2F43B5
secondary
#C7BB79
accent
#CB46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F43B5

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

Preview Lab → · Contrast checker → · Palette generator →

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