#2F43B3#2F43B3

#2F43B3 is a dark, vivid blue. Relative luminance 0.079; OKLCH L 44.1% C 0.178 H 269.6°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#2F43B3
RGBrgb(47, 67, 179)
HSLhsl(231, 58%, 44%)
HSVhsv(231, 74%, 70%)
CMYKcmyk(73.7%, 62.6%, 0%, 29.8%)
CIE-LABlab(33.72, 31.66, -61.66)
CIE-LCHlch(33.72, 69.31, 297.18°)
OKLaboklab(44.1% -0.0011 -0.1781)
OKLCHoklch(44.1% 0.178 269.6)
XYZxyz(11.3133, 7.8721, 43.5623)
Luminance0.0787 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43B3 #B39F2F
analogous
#2F85B3 #2F43B3 #5D2FB3
triadic
#2F43B3 #B32F43 #43B32F
tetradic
#2F43B3 #B32F85 #B39F2F #2FB35D
square
#2F43B3 #B32F85 #B39F2F #2FB35D
split-complementary
#2F43B3 #B35D2F #85B32F
monochromatic
#161F52 #223183 #2F43B3 #4F62D1 #7F8DDD

Accessibility & contrast

On white

8.16
#2F43B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F43B3
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43B3#FFFFFF#000000##FFFFFF
##2F43B31.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B7
Deuteranopia (green-blind)
#0049B1
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f43b3;
/* rgb */ color: rgb(47, 67, 179);
/* oklch */ color: oklch(44.1% 0.178 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b77cb',
    500: '#2f43b3',
    950: '#000000',
  },
}
SCSS
$custom: #2f43b3;
$custom-light: #7b77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43b3",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 179
  },
  "hsl": {
    "h": 230.909,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.17813,
    "h": 269.6
  },
  "luminance": 0.07873
}

Semantic roles & 50–950 ramp

primary
#2F43B3
secondary
#C6BA78
accent
#CA46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F43B3

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

Preview Lab → · Contrast checker → · Palette generator →

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