#2F43AA#2F43AA

#2F43AA is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.3% C 0.166 H 269.7°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#2F43AA
RGBrgb(47, 67, 170)
HSLhsl(230, 57%, 43%)
HSVhsv(230, 72%, 67%)
CMYKcmyk(72.4%, 60.6%, 0%, 33.3%)
CIE-LABlab(32.96, 28.35, -57.53)
CIE-LCHlch(32.96, 64.13, 296.24°)
OKLaboklab(43.31% -0.001 -0.166)
OKLCHoklch(43.31% 0.166 269.7)
XYZxyz(10.4327, 7.5199, 38.9241)
Luminance0.0752 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43AA #AA962F
analogous
#2F80AA #2F43AA #592FAA
triadic
#2F43AA #AA2F43 #43AA2F
tetradic
#2F43AA #AA2F80 #AA962F #2FAA59
square
#2F43AA #AA2F80 #AA962F #2FAA59
split-complementary
#2F43AA #AA592F #80AA2F
monochromatic
#141D4A #22307A #2F43AA #495FCD #7989DA

Accessibility & contrast

On white

8.39
#2F43AA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#2F43AA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43AA
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43AA#FFFFFF#000000##FFFFFF
##2F43AA1.008.392.508.39
#FFFFFF8.391.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AD
Deuteranopia (green-blind)
#0048A8
Tritanopia (blue-blind)
#005D70
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f43aa;
/* rgb */ color: rgb(47, 67, 170);
/* oklch */ color: oklch(43.3% 0.166 269.7);
Tailwind
colors: {
  custom: {
    50: '#7977c4',
    500: '#2f43aa',
    950: '#000000',
  },
}
SCSS
$custom: #2f43aa;
$custom-light: #7977c4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43aa",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 170
  },
  "hsl": {
    "h": 230.244,
    "s": 56.682,
    "l": 42.549
  },
  "oklch": {
    "l": 0.43308,
    "c": 0.16601,
    "h": 269.7
  },
  "luminance": 0.07521
}

Semantic roles & 50–950 ramp

primary
#2F43AA
secondary
#C2B572
accent
#C748E0
background
#F7F7FC
surface
#EEEDF8
border
#C9C8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F43AA

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

Preview Lab → · Contrast checker → · Palette generator →

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