#2F43AC#2F43AC

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

Color values

HEX#2F43AC
RGBrgb(47, 67, 172)
HSLhsl(230, 57%, 43%)
HSVhsv(230, 73%, 67%)
CMYKcmyk(72.7%, 61%, 0%, 32.5%)
CIE-LABlab(33.13, 29.09, -58.45)
CIE-LCHlch(33.13, 65.29, 296.46°)
OKLaboklab(43.48% -0.001 -0.1687)
OKLCHoklch(43.48% 0.169 269.7)
XYZxyz(10.6233, 7.5961, 39.9281)
Luminance0.0760 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43AC #AC982F
analogous
#2F81AC #2F43AC #592FAC
triadic
#2F43AC #AC2F43 #43AC2F
tetradic
#2F43AC #AC2F81 #AC982F #2FAC59
square
#2F43AC #AC2F81 #AC982F #2FAC59
split-complementary
#2F43AC #AC592F #81AC2F
monochromatic
#151E4C #22307C #2F43AC #4B60CE #7B8ADB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F43AC#FFFFFF#000000##FFFFFF
##2F43AC1.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)
#0054AF
Deuteranopia (green-blind)
#0048AA
Tritanopia (blue-blind)
#005E71
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f43ac;
/* rgb */ color: rgb(47, 67, 172);
/* oklch */ color: oklch(43.5% 0.169 269.7);
Tailwind
colors: {
  custom: {
    50: '#7977c6',
    500: '#2f43ac',
    950: '#000000',
  },
}
SCSS
$custom: #2f43ac;
$custom-light: #7977c6;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43ac",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 172
  },
  "hsl": {
    "h": 230.4,
    "s": 57.078,
    "l": 42.941
  },
  "oklch": {
    "l": 0.43482,
    "c": 0.16873,
    "h": 269.7
  },
  "luminance": 0.07597
}

Semantic roles & 50–950 ramp

primary
#2F43AC
secondary
#C3B674
accent
#C847E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F43AC

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

Preview Lab → · Contrast checker → · Palette generator →

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