#3041AF#3041AF

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

Color values

HEX#3041AF
RGBrgb(48, 65, 175)
HSLhsl(232, 57%, 44%)
HSVhsv(232, 73%, 69%)
CMYKcmyk(72.6%, 62.9%, 0%, 31.4%)
CIE-LABlab(32.93, 31.62, -60.57)
CIE-LCHlch(32.93, 68.33, 297.57°)
OKLaboklab(43.43% 0.0014 -0.1749)
OKLCHoklch(43.43% 0.175 270.4)
XYZxyz(10.8444, 7.5030, 41.4258)
Luminance0.0750 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3041AF #AF9E30
analogous
#3080AF #3041AF #5E30AF
triadic
#3041AF #AF3041 #41AF30
tetradic
#3041AF #AF3080 #AF9E30 #30AF5E
square
#3041AF #AF3080 #AF9E30 #30AF5E
split-complementary
#3041AF #AF5E30 #80AF30
monochromatic
#161D4F #232F7F #3041AF #4E5FCE #7E8ADC

Accessibility & contrast

On white

8.40
#3041AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.50
#3041AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3041AF
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3041AF#FFFFFF#000000##FFFFFF
##3041AF1.008.402.508.40
#FFFFFF8.401.0021.001.00
#0000002.5021.001.0021.00
##FFFFFF8.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B3
Deuteranopia (green-blind)
#0048AD
Tritanopia (blue-blind)
#005D72
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #3041af;
/* rgb */ color: rgb(48, 65, 175);
/* oklch */ color: oklch(43.4% 0.175 270.4);
Tailwind
colors: {
  custom: {
    50: '#7a75c8',
    500: '#3041af',
    950: '#000000',
  },
}
SCSS
$custom: #3041af;
$custom-light: #7a75c8;
$custom-dark: #000000;
JSON
{
  "hex": "#3041af",
  "rgb": {
    "r": 48,
    "g": 65,
    "b": 175
  },
  "hsl": {
    "h": 231.969,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.43425,
    "c": 0.17495,
    "h": 270.4
  },
  "luminance": 0.07504
}

Semantic roles & 50–950 ramp

primary
#3041AF
secondary
#C4BA76
accent
#CC48E0
background
#F8F7FC
surface
#EFEDF8
border
#CAC8D1
text
#0B0813
muted
#7C7B82

Preview Lab

Preview with #3041AF

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

Preview Lab → · Contrast checker → · Palette generator →

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