#3830AF#3830AF

#3830AF is a dark, vivid blue. Relative luminance 0.060; OKLCH L 41.1% C 0.192 H 276.6°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#3830AF
RGBrgb(56, 48, 175)
HSLhsl(244, 57%, 44%)
HSVhsv(244, 73%, 69%)
CMYKcmyk(68%, 72.6%, 0%, 31.4%)
CIE-LABlab(29.54, 43.05, -66.11)
CIE-LCHlch(29.54, 78.89, 303.07°)
OKLaboklab(41.1% 0.022 -0.191)
OKLCHoklch(41.1% 0.192 276.6)
XYZxyz(10.4232, 6.0489, 41.1674)
Luminance0.0605 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3830AF #A7AF30
analogous
#3067AF #3830AF #7730AF
triadic
#3830AF #AF3830 #30AF38
tetradic
#3830AF #AF3067 #A7AF30 #30AF77
square
#3830AF #AF3067 #A7AF30 #30AF77
split-complementary
#3830AF #AF7730 #67AF30
monochromatic
#19164F #29237F #3830AF #564ECE #847EDC

Accessibility & contrast

On white

9.50
#3830AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#3830AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3830AF
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3830AF#FFFFFF#000000##FFFFFF
##3830AF1.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0040AD
Tritanopia (blue-blind)
#00546C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #3830af;
/* rgb */ color: rgb(56, 48, 175);
/* oklch */ color: oklch(41.1% 0.192 276.6);
Tailwind
colors: {
  custom: {
    50: '#7f6ac8',
    500: '#3830af',
    950: '#000000',
  },
}
SCSS
$custom: #3830af;
$custom-light: #7f6ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#3830af",
  "rgb": {
    "r": 56,
    "g": 48,
    "b": 175
  },
  "hsl": {
    "h": 243.78,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.41097,
    "c": 0.19226,
    "h": 276.6
  },
  "luminance": 0.0605
}

Semantic roles & 50–950 ramp

primary
#3830AF
secondary
#BFC476
accent
#E048D7
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0B0613
muted
#7C7A82

Preview Lab

Preview with #3830AF

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

Preview Lab → · Contrast checker → · Palette generator →

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