#2F43AE#2F43AE

#2F43AE is a dark, vivid blue. Relative luminance 0.077; OKLCH L 43.7% C 0.171 H 269.7°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#2F43AE
RGBrgb(47, 67, 174)
HSLhsl(231, 57%, 43%)
HSVhsv(231, 73%, 68%)
CMYKcmyk(73%, 61.5%, 0%, 31.8%)
CIE-LABlab(33.29, 29.83, -59.37)
CIE-LCHlch(33.29, 66.45, 296.68°)
OKLaboklab(43.66% -0.001 -0.1714)
OKLCHoklch(43.66% 0.171 269.7)
XYZxyz(10.8168, 7.6735, 40.9473)
Luminance0.0767 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43AE #AE9A2F
analogous
#2F82AE #2F43AE #5A2FAE
triadic
#2F43AE #AE2F43 #43AE2F
tetradic
#2F43AE #AE2F82 #AE9A2F #2FAE5A
square
#2F43AE #AE2F82 #AE9A2F #2FAE5A
split-complementary
#2F43AE #AE5A2F #82AE2F
monochromatic
#151E4E #22307E #2F43AE #4C60CF #7C8BDC

Accessibility & contrast

On white

8.28
#2F43AE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#2F43AE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43AE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43AE#FFFFFF#000000##FFFFFF
##2F43AE1.008.282.538.28
#FFFFFF8.281.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B2
Deuteranopia (green-blind)
#0049AC
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2f43ae;
/* rgb */ color: rgb(47, 67, 174);
/* oklch */ color: oklch(43.7% 0.171 269.7);
Tailwind
colors: {
  custom: {
    50: '#7a77c7',
    500: '#2f43ae',
    950: '#000000',
  },
}
SCSS
$custom: #2f43ae;
$custom-light: #7a77c7;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43ae",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 174
  },
  "hsl": {
    "h": 230.551,
    "s": 57.466,
    "l": 43.333
  },
  "oklch": {
    "l": 0.43657,
    "c": 0.17143,
    "h": 269.7
  },
  "luminance": 0.07675
}

Semantic roles & 50–950 ramp

primary
#2F43AE
secondary
#C4B875
accent
#C947E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0A0813
muted
#7C7B82

Preview Lab

Preview with #2F43AE

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

Preview Lab → · Contrast checker → · Palette generator →

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