#2F43BE#2F43BE

#2F43BE is a mid, vivid blue. Relative luminance 0.083; OKLCH L 45.1% C 0.193 H 269.5°. Best body text is #FFFFFF at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#2F43BE
RGBrgb(47, 67, 190)
HSLhsl(232, 60%, 46%)
HSVhsv(232, 75%, 75%)
CMYKcmyk(75.3%, 64.7%, 0%, 25.5%)
CIE-LABlab(34.67, 35.66, -66.58)
CIE-LCHlch(34.67, 75.53, 298.17°)
OKLaboklab(45.1% -0.0016 -0.1926)
OKLCHoklch(45.1% 0.193 269.5)
XYZxyz(12.4705, 8.3350, 49.6568)
Luminance0.0834 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43BE #BEAA2F
analogous
#2F8BBE #2F43BE #622FBE
triadic
#2F43BE #BE2F43 #43BE2F
tetradic
#2F43BE #BE2F8B #BEAA2F #2FBE62
square
#2F43BE #BE2F8B #BEAA2F #2FBE62
split-complementary
#2F43BE #BE622F #8BBE2F
monochromatic
#17205C #23328D #2F43BE #5567D5 #8693E1

Accessibility & contrast

On white

7.87
#2F43BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#2F43BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43BE
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43BE#FFFFFF#000000##FFFFFF
##2F43BE1.007.872.677.87
#FFFFFF7.871.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C2
Deuteranopia (green-blind)
#004BBC
Tritanopia (blue-blind)
#00637A
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2f43be;
/* rgb */ color: rgb(47, 67, 190);
/* oklch */ color: oklch(45.1% 0.193 269.5);
Tailwind
colors: {
  custom: {
    50: '#7d77d3',
    500: '#2f43be',
    950: '#000000',
  },
}
SCSS
$custom: #2f43be;
$custom-light: #7d77d3;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43be",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 190
  },
  "hsl": {
    "h": 231.608,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.45097,
    "c": 0.19257,
    "h": 269.5
  },
  "luminance": 0.08336
}

Semantic roles & 50–950 ramp

primary
#2F43BE
secondary
#CBC07E
accent
#CD44E3
background
#F8F7FD
surface
#F0EDFA
border
#CBC8D3
text
#0B0814
muted
#7C7B83

Preview Lab

Preview with #2F43BE

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

Preview Lab → · Contrast checker → · Palette generator →

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