#3041B0#3041B0

#3041B0 is a dark, vivid blue. Relative luminance 0.075; OKLCH L 43.5% C 0.176 H 270.4°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#3041B0
RGBrgb(48, 65, 176)
HSLhsl(232, 57%, 44%)
HSVhsv(232, 73%, 69%)
CMYKcmyk(72.7%, 63.1%, 0%, 31%)
CIE-LABlab(33.01, 31.99, -61.02)
CIE-LCHlch(33.01, 68.90, 297.66°)
OKLaboklab(43.52% 0.0013 -0.1763)
OKLCHoklch(43.52% 0.176 270.4)
XYZxyz(10.9430, 7.5424, 41.9450)
Luminance0.0754 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041B0 #B09F30
analogous
#3081B0 #3041B0 #5F30B0
triadic
#3041B0 #B03041 #41B030
tetradic
#3041B0 #B03081 #B09F30 #30B05F
square
#3041B0 #B03081 #B09F30 #30B05F
split-complementary
#3041B0 #B05F30 #81B030
monochromatic
#161D50 #232F80 #3041B0 #4E5FCF #7E8BDC

Accessibility & contrast

On white

8.37
#3041B0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#3041B0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041B0
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041B0#FFFFFF#000000##FFFFFF
##3041B01.008.372.518.37
#FFFFFF8.371.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B4
Deuteranopia (green-blind)
#0048AE
Tritanopia (blue-blind)
#005E72
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #3041b0;
/* rgb */ color: rgb(48, 65, 176);
/* oklch */ color: oklch(43.5% 0.176 270.4);
Tailwind
colors: {
  custom: {
    50: '#7b75c9',
    500: '#3041b0',
    950: '#000000',
  },
}
SCSS
$custom: #3041b0;
$custom-light: #7b75c9;
$custom-dark: #000000;
JSON
{
  "hex": "#3041b0",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 176
  },
  "hsl": {
    "h": 232.031,
    "s": 57.143,
    "l": 43.922
  },
  "oklch": {
    "l": 0.43515,
    "c": 0.17628,
    "h": 270.4
  },
  "luminance": 0.07544
}

Semantic roles & 50–950 ramp

primary
#3041B0
secondary
#C5BA77
accent
#CC47E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3041B0

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

Preview Lab → · Contrast checker → · Palette generator →

#3041B0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva