#2F43A2#2F43A2

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

Color values

HEX#2F43A2
RGBrgb(47, 67, 162)
HSLhsl(230, 55%, 41%)
HSVhsv(230, 71%, 64%)
CMYKcmyk(71%, 58.6%, 0%, 36.5%)
CIE-LABlab(32.32, 25.39, -53.78)
CIE-LCHlch(32.32, 59.47, 295.27°)
OKLaboklab(42.63% -0.0011 -0.155)
OKLCHoklch(42.63% 0.155 269.6)
XYZxyz(9.6988, 7.2263, 35.0591)
Luminance0.0723 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43A2 #A28E2F
analogous
#2F7CA2 #2F43A2 #542FA2
triadic
#2F43A2 #A22F43 #43A22F
tetradic
#2F43A2 #A22F7C #A28E2F #2FA254
square
#2F43A2 #A22F7C #A28E2F #2FA254
split-complementary
#2F43A2 #A2542F #7CA22F
monochromatic
#131C43 #212F73 #2F43A2 #455CC9 #7586D7

Accessibility & contrast

On white

8.59
#2F43A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2F43A2
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43A2#FFFFFF#000000##FFFFFF
##2F43A21.008.592.458.59
#FFFFFF8.591.0021.001.00
#0000002.4521.001.0021.00
##FFFFFF8.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051A5
Deuteranopia (green-blind)
#0047A0
Tritanopia (blue-blind)
#005A6C
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #2f43a2;
/* rgb */ color: rgb(47, 67, 162);
/* oklch */ color: oklch(42.6% 0.155 269.6);
Tailwind
colors: {
  custom: {
    50: '#7776be',
    500: '#2f43a2',
    950: '#000000',
  },
}
SCSS
$custom: #2f43a2;
$custom-light: #7776be;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43a2",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 162
  },
  "hsl": {
    "h": 229.565,
    "s": 55.024,
    "l": 40.98
  },
  "oklch": {
    "l": 0.42625,
    "c": 0.155,
    "h": 269.6
  },
  "luminance": 0.07227
}

Semantic roles & 50–950 ramp

primary
#2F43A2
secondary
#BFB16E
accent
#C449DE
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #2F43A2

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

Preview Lab → · Contrast checker → · Palette generator →

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