#2F43A0#2F43A0

#2F43A0 is a dark, vivid blue. Relative luminance 0.072; OKLCH L 42.5% C 0.152 H 269.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).

Color values

HEX#2F43A0
RGBrgb(47, 67, 160)
HSLhsl(229, 55%, 41%)
HSVhsv(229, 71%, 63%)
CMYKcmyk(70.6%, 58.1%, 0%, 37.3%)
CIE-LABlab(32.16, 24.64, -52.83)
CIE-LCHlch(32.16, 58.29, 295.01°)
OKLaboklab(42.46% -0.0011 -0.1522)
OKLCHoklch(42.46% 0.152 269.6)
XYZxyz(9.5224, 7.1558, 34.1303)
Luminance0.0716 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43A0 #A08C2F
analogous
#2F7BA0 #2F43A0 #542FA0
triadic
#2F43A0 #A02F43 #43A02F
tetradic
#2F43A0 #A02F7B #A08C2F #2FA054
square
#2F43A0 #A02F7B #A08C2F #2FA054
split-complementary
#2F43A0 #A0542F #7BA02F
monochromatic
#131B41 #212F71 #2F43A0 #445BC8 #7385D6

Accessibility & contrast

On white

8.64
#2F43A0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.43
#2F43A0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43A0
8.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43A0#FFFFFF#000000##FFFFFF
##2F43A01.008.642.438.64
#FFFFFF8.641.0021.001.00
#0000002.4321.001.0021.00
##FFFFFF8.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A3
Deuteranopia (green-blind)
#00479E
Tritanopia (blue-blind)
#005A6B
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f43a0;
/* rgb */ color: rgb(47, 67, 160);
/* oklch */ color: oklch(42.5% 0.152 269.6);
Tailwind
colors: {
  custom: {
    50: '#7676bd',
    500: '#2f43a0',
    950: '#000000',
  },
}
SCSS
$custom: #2f43a0;
$custom-light: #7676bd;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43a0",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 160
  },
  "hsl": {
    "h": 229.381,
    "s": 54.589,
    "l": 40.588
  },
  "oklch": {
    "l": 0.42458,
    "c": 0.15221,
    "h": 269.6
  },
  "luminance": 0.07157
}

Semantic roles & 50–950 ramp

primary
#2F43A0
secondary
#BEAF6D
accent
#C44ADE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F43A0

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

Preview Lab → · Contrast checker → · Palette generator →

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