#2F43A9#2F43A9

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

Color values

HEX#2F43A9
RGBrgb(47, 67, 169)
HSLhsl(230, 56%, 42%)
HSVhsv(230, 72%, 66%)
CMYKcmyk(72.2%, 60.4%, 0%, 33.7%)
CIE-LABlab(32.88, 27.98, -57.06)
CIE-LCHlch(32.88, 63.55, 296.12°)
OKLaboklab(43.22% -0.001 -0.1646)
OKLCHoklch(43.22% 0.165 269.7)
XYZxyz(10.3384, 7.4822, 38.4278)
Luminance0.0748 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43A9 #A9952F
analogous
#2F80A9 #2F43A9 #582FA9
triadic
#2F43A9 #A92F43 #43A92F
tetradic
#2F43A9 #A92F80 #A9952F #2FA958
square
#2F43A9 #A92F80 #A9952F #2FA958
split-complementary
#2F43A9 #A9582F #80A92F
monochromatic
#141D49 #223079 #2F43A9 #495ECC #7989DA

Accessibility & contrast

On white

8.41
#2F43A9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F43A9
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43A9#FFFFFF#000000##FFFFFF
##2F43A91.008.412.508.41
#FFFFFF8.411.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#0048A7
Tritanopia (blue-blind)
#005D6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f43a9;
/* rgb */ color: rgb(47, 67, 169);
/* oklch */ color: oklch(43.2% 0.165 269.7);
Tailwind
colors: {
  custom: {
    50: '#7877c3',
    500: '#2f43a9',
    950: '#000000',
  },
}
SCSS
$custom: #2f43a9;
$custom-light: #7877c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43a9",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 169
  },
  "hsl": {
    "h": 230.164,
    "s": 56.481,
    "l": 42.353
  },
  "oklch": {
    "l": 0.43221,
    "c": 0.16465,
    "h": 269.7
  },
  "luminance": 0.07483
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F43A9

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

Preview Lab → · Contrast checker → · Palette generator →

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