#2F43BC#2F43BC

#2F43BC is a dark, vivid blue. Relative luminance 0.082; OKLCH L 44.9% C 0.190 H 269.6°. Best body text is #FFFFFF at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#2F43BC
RGBrgb(47, 67, 188)
HSLhsl(231, 60%, 46%)
HSVhsv(231, 75%, 74%)
CMYKcmyk(75%, 64.4%, 0%, 26.3%)
CIE-LABlab(34.49, 34.94, -65.70)
CIE-LCHlch(34.49, 74.41, 298.00°)
OKLaboklab(44.91% -0.0015 -0.19)
OKLCHoklch(44.91% 0.19 269.6)
XYZxyz(12.2534, 8.2482, 48.5135)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43BC #BCA82F
analogous
#2F89BC #2F43BC #612FBC
triadic
#2F43BC #BC2F43 #43BC2F
tetradic
#2F43BC #BC2F89 #BCA82F #2FBC61
square
#2F43BC #BC2F89 #BCA82F #2FBC61
split-complementary
#2F43BC #BC612F #89BC2F
monochromatic
#17205A #23328B #2F43BC #5466D4 #8592E0

Accessibility & contrast

On white

7.93
#2F43BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#2F43BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43BC
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43BC#FFFFFF#000000##FFFFFF
##2F43BC1.007.932.657.93
#FFFFFF7.931.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#004BBA
Tritanopia (blue-blind)
#006379
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2f43bc;
/* rgb */ color: rgb(47, 67, 188);
/* oklch */ color: oklch(44.9% 0.190 269.6);
Tailwind
colors: {
  custom: {
    50: '#7d77d1',
    500: '#2f43bc',
    950: '#000000',
  },
}
SCSS
$custom: #2f43bc;
$custom-light: #7d77d1;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43bc",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 188
  },
  "hsl": {
    "h": 231.489,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.44913,
    "c": 0.18998,
    "h": 269.6
  },
  "luminance": 0.08249
}

Semantic roles & 50–950 ramp

primary
#2F43BC
secondary
#CABF7D
accent
#CD45E3
background
#F8F7FD
surface
#EFEDFA
border
#CAC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F43BC

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

Preview Lab → · Contrast checker → · Palette generator →

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