#2F43B2#2F43B2

#2F43B2 is a dark, vivid blue. Relative luminance 0.078; OKLCH L 44.0% C 0.177 H 269.6°. Best body text is #FFFFFF at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#2F43B2
RGBrgb(47, 67, 178)
HSLhsl(231, 58%, 44%)
HSVhsv(231, 74%, 70%)
CMYKcmyk(73.6%, 62.4%, 0%, 30.2%)
CIE-LABlab(33.63, 31.30, -61.20)
CIE-LCHlch(33.63, 68.74, 297.09°)
OKLaboklab(44.01% -0.0011 -0.1768)
OKLCHoklch(44.01% 0.177 269.6)
XYZxyz(11.2126, 7.8318, 43.0316)
Luminance0.0783 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F43B2 #B29E2F
analogous
#2F85B2 #2F43B2 #5D2FB2
triadic
#2F43B2 #B22F43 #43B22F
tetradic
#2F43B2 #B22F85 #B29E2F #2FB25D
square
#2F43B2 #B22F85 #B29E2F #2FB25D
split-complementary
#2F43B2 #B25D2F #85B22F
monochromatic
#151F51 #223182 #2F43B2 #4E62D0 #7E8DDD

Accessibility & contrast

On white

8.18
#2F43B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#2F43B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F43B2
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F43B2#FFFFFF#000000##FFFFFF
##2F43B21.008.182.578.18
#FFFFFF8.181.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0049B0
Tritanopia (blue-blind)
#006074
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2f43b2;
/* rgb */ color: rgb(47, 67, 178);
/* oklch */ color: oklch(44.0% 0.177 269.6);
Tailwind
colors: {
  custom: {
    50: '#7b77ca',
    500: '#2f43b2',
    950: '#000000',
  },
}
SCSS
$custom: #2f43b2;
$custom-light: #7b77ca;
$custom-dark: #000000;
JSON
{
  "hex": "#2f43b2",
  "rgb": {
    "r": 47,
    "g": 67,
    "b": 178
  },
  "hsl": {
    "h": 230.84,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.4401,
    "c": 0.1768,
    "h": 269.6
  },
  "luminance": 0.07833
}

Semantic roles & 50–950 ramp

primary
#2F43B2
secondary
#C6BA77
accent
#CA46E1
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F43B2

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

Preview Lab → · Contrast checker → · Palette generator →

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