#2F44B5#2F44B5

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

Color values

HEX#2F44B5
RGBrgb(47, 68, 181)
HSLhsl(231, 59%, 45%)
HSVhsv(231, 74%, 71%)
CMYKcmyk(74%, 62.4%, 0%, 29%)
CIE-LABlab(34.14, 31.75, -62.15)
CIE-LCHlch(34.14, 69.79, 297.06°)
OKLaboklab(44.46% -0.0019 -0.1796)
OKLCHoklch(44.46% 0.18 269.4)
XYZxyz(11.5770, 8.0736, 44.6553)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F44B5 #B5A02F
analogous
#2F87B5 #2F44B5 #5D2FB5
triadic
#2F44B5 #B52F44 #44B52F
tetradic
#2F44B5 #B52F87 #B5A02F #2FB55D
square
#2F44B5 #B52F87 #B5A02F #2FB55D
split-complementary
#2F44B5 #B55D2F #87B52F
monochromatic
#161F54 #223284 #2F44B5 #5064D1 #808FDE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2F44B5#FFFFFF#000000##FFFFFF
##2F44B51.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)
#0057B9
Deuteranopia (green-blind)
#004AB3
Tritanopia (blue-blind)
#006176
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2f44b5;
/* rgb */ color: rgb(47, 68, 181);
/* oklch */ color: oklch(44.5% 0.180 269.4);
Tailwind
colors: {
  custom: {
    50: '#7b77cc',
    500: '#2f44b5',
    950: '#000000',
  },
}
SCSS
$custom: #2f44b5;
$custom-light: #7b77cc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f44b5",
  "rgb": {
    "r": 47,
    "g": 68,
    "b": 181
  },
  "hsl": {
    "h": 230.597,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.44462,
    "c": 0.17959,
    "h": 269.4
  },
  "luminance": 0.08075
}

Semantic roles & 50–950 ramp

primary
#2F44B5
secondary
#C7BB79
accent
#CA46E2
background
#F8F7FC
surface
#EFEDF9
border
#CAC8D2
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #2F44B5

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

Preview Lab → · Contrast checker → · Palette generator →

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