#2F19B4#2F19B4

#2F19B4 is a dark, highly saturated blue. Relative luminance 0.046; OKLCH L 38.3% C 0.220 H 274.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#2F19B4
RGBrgb(47, 25, 180)
HSLhsl(249, 76%, 40%)
HSVhsv(249, 86%, 71%)
CMYKcmyk(73.9%, 86.1%, 0%, 29.4%)
CIE-LABlab(25.55, 55.03, -75.72)
CIE-LCHlch(25.55, 93.61, 306.01°)
OKLaboklab(38.3% 0.0185 -0.2188)
OKLCHoklch(38.3% 0.22 274.8)
XYZxyz(9.7554, 4.5939, 43.5438)
Luminance0.0459 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2F19B4 #9EB419
analogous
#1951B4 #2F19B4 #7C19B4
triadic
#2F19B4 #B42F19 #19B42F
tetradic
#2F19B4 #B41951 #9EB419 #19B47C
square
#2F19B4 #B41951 #9EB419 #19B47C
split-complementary
#2F19B4 #B47C19 #51B419
monochromatic
#130A49 #21127E #2F19B4 #4329E1 #725FE9

Accessibility & contrast

On white

10.94
#2F19B4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#2F19B4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2F19B4
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2F19B4#FFFFFF#000000##FFFFFF
##2F19B41.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043B8
Deuteranopia (green-blind)
#0035B1
Tritanopia (blue-blind)
#004D6A
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #2f19b4;
/* rgb */ color: rgb(47, 25, 180);
/* oklch */ color: oklch(38.3% 0.220 274.8);
Tailwind
colors: {
  custom: {
    50: '#7f5dcc',
    500: '#2f19b4',
    950: '#000000',
  },
}
SCSS
$custom: #2f19b4;
$custom-light: #7f5dcc;
$custom-dark: #000000;
JSON
{
  "hex": "#2f19b4",
  "rgb": {
    "r": 47,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 248.516,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.38304,
    "c": 0.21962,
    "h": 274.8
  },
  "luminance": 0.04595
}

Semantic roles & 50–950 ramp

primary
#2F19B4
secondary
#BDCD5C
accent
#F236D7
background
#F8F5FC
surface
#F0E9F9
border
#CBC5D2
text
#0C0514
muted
#7D7982

Preview Lab

Preview with #2F19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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