#305995#305995

#305995 is a mid, moderate blue. Relative luminance 0.099; OKLCH L 46.5% C 0.108 H 257.9°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#305995
RGBrgb(48, 89, 149)
HSLhsl(216, 51%, 39%)
HSVhsv(216, 68%, 58%)
CMYKcmyk(67.8%, 40.3%, 0%, 41.6%)
CIE-LABlab(37.74, 6.09, -37.21)
CIE-LCHlch(37.74, 37.71, 279.29°)
OKLaboklab(46.49% -0.0226 -0.1059)
OKLCHoklch(46.49% 0.108 257.9)
XYZxyz(10.2142, 9.9420, 29.8087)
Luminance0.0994 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305995 #956C30
analogous
#308B95 #305995 #3A3095
triadic
#305995 #953059 #599530
tetradic
#305995 #95308B #956C30 #30953A
square
#305995 #95308B #956C30 #30953A
split-complementary
#305995 #953A30 #8B9530
monochromatic
#122238 #213D67 #305995 #4175C2 #6F97D1

Accessibility & contrast

On white

7.03
#305995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#305995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305995
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305995#FFFFFF#000000##FFFFFF
##3059951.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5E97
Deuteranopia (green-blind)
#2F5494
Tritanopia (blue-blind)
#006770
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #305995;
/* rgb */ color: rgb(48, 89, 149);
/* oklch */ color: oklch(46.5% 0.108 257.9);
Tailwind
colors: {
  custom: {
    50: '#7487b4',
    500: '#305995',
    950: '#000000',
  },
}
SCSS
$custom: #305995;
$custom-light: #7487b4;
$custom-dark: #000000;
JSON
{
  "hex": "#305995",
  "rgb": {
    "r": 48,
    "g": 89,
    "b": 149
  },
  "hsl": {
    "h": 215.644,
    "s": 51.269,
    "l": 38.627
  },
  "oklch": {
    "l": 0.46491,
    "c": 0.10833,
    "h": 257.9
  },
  "luminance": 0.09943
}

Semantic roles & 50–950 ramp

primary
#305995
secondary
#B89869
accent
#A14DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305995

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

Preview Lab → · Contrast checker → · Palette generator →

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