#2F43B8#2F43B8

#2F43B8 is a dark, vivid blue. Relative luminance 0.081; OKLCH L 44.5% C 0.185 H 269.6°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#2F43B8
RGBrgb(47, 67, 184)
HSLhsl(231, 59%, 45%)
HSVhsv(231, 74%, 72%)
CMYKcmyk(74.5%, 63.6%, 0%, 27.8%)
CIE-LABlab(34.15, 33.49, -63.91)
CIE-LCHlch(34.15, 72.15, 297.65°)
OKLaboklab(44.55% -0.0013 -0.1847)
OKLCHoklch(44.55% 0.185 269.6)
XYZxyz(11.8282, 8.0781, 46.2740)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43B8 #B8A42F
analogous
#2F87B8 #2F43B8 #602FB8
triadic
#2F43B8 #B82F43 #43B82F
tetradic
#2F43B8 #B82F87 #B8A42F #2FB860
square
#2F43B8 #B82F87 #B8A42F #2FB860
split-complementary
#2F43B8 #B8602F #87B82F
monochromatic
#161F57 #233187 #2F43B8 #5264D3 #8290DF

Accessibility & contrast

On white

8.03
#2F43B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#2F43B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43B8
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43B8#FFFFFF#000000##FFFFFF
##2F43B81.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#004AB6
Tritanopia (blue-blind)
#006177
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f43b8;
/* rgb */ color: rgb(47, 67, 184);
/* oklch */ color: oklch(44.5% 0.185 269.6);
Tailwind
colors: {
  custom: {
    50: '#7c77ce',
    500: '#2f43b8',
    950: '#000000',
  },
}
SCSS
$custom: #2f43b8;
$custom-light: #7c77ce;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43b8",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 184
  },
  "hsl": {
    "h": 231.241,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.44549,
    "c": 0.18474,
    "h": 269.6
  },
  "luminance": 0.08079
}

Semantic roles & 50–950 ramp

primary
#2F43B8
secondary
#C8BD7B
accent
#CC45E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0814
muted
#7C7B82

Preview Lab

Preview with #2F43B8

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

Preview Lab → · Contrast checker → · Palette generator →

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