#2F43C0#2F43C0

#2F43C0 is a mid, vivid blue. Relative luminance 0.084; OKLCH L 45.3% C 0.195 H 269.5°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#2F43C0
RGBrgb(47, 67, 192)
HSLhsl(232, 61%, 47%)
HSVhsv(232, 76%, 75%)
CMYKcmyk(75.5%, 65.1%, 0%, 24.7%)
CIE-LABlab(34.85, 36.38, -67.46)
CIE-LCHlch(34.85, 76.65, 298.34°)
OKLaboklab(45.28% -0.0017 -0.1951)
OKLCHoklch(45.28% 0.195 269.5)
XYZxyz(12.6906, 8.4230, 50.8159)
Luminance0.0842 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43C0 #C0AC2F
analogous
#2F8CC0 #2F43C0 #642FC0
triadic
#2F43C0 #C02F43 #43C02F
tetradic
#2F43C0 #C02F8C #C0AC2F #2FC064
square
#2F43C0 #C02F8C #C0AC2F #2FC064
split-complementary
#2F43C0 #C0642F #8CC02F
monochromatic
#17215E #23328F #2F43C0 #5668D6 #8894E2

Accessibility & contrast

On white

7.82
#2F43C0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2F43C0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43C0
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43C0#FFFFFF#000000##FFFFFF
##2F43C01.007.822.687.82
#FFFFFF7.821.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C4
Deuteranopia (green-blind)
#004BBE
Tritanopia (blue-blind)
#00647B
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f43c0;
/* rgb */ color: rgb(47, 67, 192);
/* oklch */ color: oklch(45.3% 0.195 269.5);
Tailwind
colors: {
  custom: {
    50: '#7e77d4',
    500: '#2f43c0',
    950: '#000000',
  },
}
SCSS
$custom: #2f43c0;
$custom-light: #7e77d4;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43c0",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 192
  },
  "hsl": {
    "h": 231.724,
    "s": 60.669,
    "l": 46.863
  },
  "oklch": {
    "l": 0.45282,
    "c": 0.19515,
    "h": 269.5
  },
  "luminance": 0.08424
}

Semantic roles & 50–950 ramp

primary
#2F43C0
secondary
#CBC17F
accent
#CE44E4
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F43C0

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

Preview Lab → · Contrast checker → · Palette generator →

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