#2F43A3#2F43A3

#2F43A3 is a dark, vivid blue. Relative luminance 0.073; OKLCH L 42.7% C 0.156 H 269.6°. Best body text is #FFFFFF at 8.56:1 contrast (WCAG AA passes).

Color values

HEX#2F43A3
RGBrgb(47, 67, 163)
HSLhsl(230, 55%, 41%)
HSVhsv(230, 71%, 64%)
CMYKcmyk(71.2%, 58.9%, 0%, 36.1%)
CIE-LABlab(32.40, 25.76, -54.25)
CIE-LCHlch(32.40, 60.05, 295.40°)
OKLaboklab(42.71% -0.0011 -0.1564)
OKLCHoklch(42.71% 0.156 269.6)
XYZxyz(9.7880, 7.2620, 35.5291)
Luminance0.0726 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43A3 #A38F2F
analogous
#2F7DA3 #2F43A3 #552FA3
triadic
#2F43A3 #A32F43 #43A32F
tetradic
#2F43A3 #A32F7D #A38F2F #2FA355
square
#2F43A3 #A32F7D #A38F2F #2FA355
split-complementary
#2F43A3 #A3552F #7DA32F
monochromatic
#141C44 #212F73 #2F43A3 #465CCA #7586D7

Accessibility & contrast

On white

8.56
#2F43A3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.45
#2F43A3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43A3
8.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43A3#FFFFFF#000000##FFFFFF
##2F43A31.008.562.458.56
#FFFFFF8.561.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052A6
Deuteranopia (green-blind)
#0047A1
Tritanopia (blue-blind)
#005B6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f43a3;
/* rgb */ color: rgb(47, 67, 163);
/* oklch */ color: oklch(42.7% 0.156 269.6);
Tailwind
colors: {
  custom: {
    50: '#7776bf',
    500: '#2f43a3',
    950: '#000000',
  },
}
SCSS
$custom: #2f43a3;
$custom-light: #7776bf;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43a3",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 163
  },
  "hsl": {
    "h": 229.655,
    "s": 55.238,
    "l": 41.176
  },
  "oklch": {
    "l": 0.4271,
    "c": 0.15639,
    "h": 269.6
  },
  "luminance": 0.07263
}

Semantic roles & 50–950 ramp

primary
#2F43A3
secondary
#BFB16F
accent
#C549DF
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F43A3

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

Preview Lab → · Contrast checker → · Palette generator →

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