#2F43B0#2F43B0

#2F43B0 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 43.8% C 0.174 H 269.6°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#2F43B0
RGBrgb(47, 67, 176)
HSLhsl(231, 58%, 44%)
HSVhsv(231, 73%, 69%)
CMYKcmyk(73.3%, 61.9%, 0%, 31%)
CIE-LABlab(33.46, 30.56, -60.29)
CIE-LCHlch(33.46, 67.59, 296.88°)
OKLaboklab(43.83% -0.0011 -0.1741)
OKLCHoklch(43.83% 0.174 269.6)
XYZxyz(11.0132, 7.7521, 41.9818)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43B0 #B09C2F
analogous
#2F83B0 #2F43B0 #5B2FB0
triadic
#2F43B0 #B02F43 #43B02F
tetradic
#2F43B0 #B02F83 #B09C2F #2FB05B
square
#2F43B0 #B02F83 #B09C2F #2FB05B
split-complementary
#2F43B0 #B05B2F #83B02F
monochromatic
#151E4F #223180 #2F43B0 #4D61CF #7D8CDC

Accessibility & contrast

On white

8.23
#2F43B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2F43B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43B0
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43B0#FFFFFF#000000##FFFFFF
##2F43B01.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B4
Deuteranopia (green-blind)
#0049AE
Tritanopia (blue-blind)
#005F73
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f43b0;
/* rgb */ color: rgb(47, 67, 176);
/* oklch */ color: oklch(43.8% 0.174 269.6);
Tailwind
colors: {
  custom: {
    50: '#7a77c8',
    500: '#2f43b0',
    950: '#000000',
  },
}
SCSS
$custom: #2f43b0;
$custom-light: #7a77c8;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43b0",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 176
  },
  "hsl": {
    "h": 230.698,
    "s": 57.848,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43833,
    "c": 0.17412,
    "h": 269.6
  },
  "luminance": 0.07753
}

Semantic roles & 50–950 ramp

primary
#2F43B0
secondary
#C5B976
accent
#C947E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F43B0

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

Preview Lab → · Contrast checker → · Palette generator →

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