#305397#305397

#305397 is a mid, moderate blue. Relative luminance 0.090; OKLCH L 45.2% C 0.118 H 262.2°. Best body text is #FFFFFF at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#305397
RGBrgb(48, 83, 151)
HSLhsl(220, 52%, 39%)
HSVhsv(220, 68%, 59%)
CMYKcmyk(68.2%, 45%, 0%, 40.8%)
CIE-LABlab(36.08, 10.75, -41.07)
CIE-LCHlch(36.08, 42.45, 284.67°)
OKLaboklab(45.25% -0.016 -0.1173)
OKLCHoklch(45.25% 0.118 262.2)
XYZxyz(9.8961, 9.0483, 30.4971)
Luminance0.0905 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305397 #977430
analogous
#308797 #305397 #413097
triadic
#305397 #973053 #539730
tetradic
#305397 #973087 #977430 #309741
square
#305397 #973087 #977430 #309741
split-complementary
#305397 #974130 #879730
monochromatic
#12203A #213969 #305397 #416DC3 #7091D2

Accessibility & contrast

On white

7.47
#305397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#305397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305397
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305397#FFFFFF#000000##FFFFFF
##3053971.007.472.817.47
#FFFFFF7.471.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325A9A
Deuteranopia (green-blind)
#205096
Tritanopia (blue-blind)
#00636D
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #305397;
/* rgb */ color: rgb(48, 83, 151);
/* oklch */ color: oklch(45.2% 0.118 262.2);
Tailwind
colors: {
  custom: {
    50: '#7482b6',
    500: '#305397',
    950: '#000000',
  },
}
SCSS
$custom: #305397;
$custom-light: #7482b6;
$custom-dark: #000000;
JSON
{
  "hex": "#305397",
  "rgb": {
    "r": 48,
    "g": 83,
    "b": 151
  },
  "hsl": {
    "h": 219.612,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45245,
    "c": 0.11844,
    "h": 262.2
  },
  "luminance": 0.09049
}

Semantic roles & 50–950 ramp

primary
#305397
secondary
#B99E6A
accent
#AB4DDB
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#090A11
muted
#7B7C80

Preview Lab

Preview with #305397

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

Preview Lab → · Contrast checker → · Palette generator →

#305397 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva