#2F43A8#2F43A8

#2F43A8 is a dark, vivid blue. Relative luminance 0.074; OKLCH L 43.1% C 0.163 H 269.6°. Best body text is #FFFFFF at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#2F43A8
RGBrgb(47, 67, 168)
HSLhsl(230, 56%, 42%)
HSVhsv(230, 72%, 66%)
CMYKcmyk(72%, 60.1%, 0%, 34.1%)
CIE-LABlab(32.80, 27.61, -56.60)
CIE-LCHlch(32.80, 62.97, 296.01°)
OKLaboklab(43.14% -0.001 -0.1633)
OKLCHoklch(43.14% 0.163 269.6)
XYZxyz(10.2449, 7.4448, 37.9353)
Luminance0.0745 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43A8 #A8942F
analogous
#2F7FA8 #2F43A8 #582FA8
triadic
#2F43A8 #A82F43 #43A82F
tetradic
#2F43A8 #A82F7F #A8942F #2FA858
square
#2F43A8 #A82F7F #A8942F #2FA858
split-complementary
#2F43A8 #A8582F #7FA82F
monochromatic
#141D48 #223078 #2F43A8 #485ECC #7888D9

Accessibility & contrast

On white

8.44
#2F43A8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.49
#2F43A8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43A8
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43A8#FFFFFF#000000##FFFFFF
##2F43A81.008.442.498.44
#FFFFFF8.441.0021.001.00
#0000002.4921.001.0021.00
##FFFFFF8.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#0048A6
Tritanopia (blue-blind)
#005C6F
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2f43a8;
/* rgb */ color: rgb(47, 67, 168);
/* oklch */ color: oklch(43.1% 0.163 269.6);
Tailwind
colors: {
  custom: {
    50: '#7877c3',
    500: '#2f43a8',
    950: '#000000',
  },
}
SCSS
$custom: #2f43a8;
$custom-light: #7877c3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43a8",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 168
  },
  "hsl": {
    "h": 230.083,
    "s": 56.279,
    "l": 42.157
  },
  "oklch": {
    "l": 0.43135,
    "c": 0.16328,
    "h": 269.6
  },
  "luminance": 0.07446
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2F43A8

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

Preview Lab → · Contrast checker → · Palette generator →

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