#305B91#305B91

#305B91 is a mid, moderate cyan. Relative luminance 0.102; OKLCH L 46.7% C 0.100 H 255.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#305B91
RGBrgb(48, 91, 145)
HSLhsl(213, 50%, 38%)
HSVhsv(213, 67%, 57%)
CMYKcmyk(66.9%, 37.2%, 0%, 43.1%)
CIE-LABlab(38.12, 3.32, -34.20)
CIE-LCHlch(38.12, 34.36, 275.55°)
OKLaboklab(46.71% -0.0258 -0.0971)
OKLCHoklch(46.71% 0.1 255.1)
XYZxyz(10.0690, 10.1539, 28.2118)
Luminance0.1016 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305B91 #916630
analogous
#308B91 #305B91 #353091
triadic
#305B91 #91305B #5B9130
tetradic
#305B91 #91308B #916630 #309135
square
#305B91 #91308B #916630 #309135
split-complementary
#305B91 #913530 #8B9130
monochromatic
#122135 #213E63 #305B91 #3F78BF #6D98CF

Accessibility & contrast

On white

6.93
#305B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#305B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305B91
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305B91#FFFFFF#000000##FFFFFF
##305B911.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F93
Deuteranopia (green-blind)
#365690
Tritanopia (blue-blind)
#00676F
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #305b91;
/* rgb */ color: rgb(48, 91, 145);
/* oklch */ color: oklch(46.7% 0.100 255.1);
Tailwind
colors: {
  custom: {
    50: '#7389b1',
    500: '#305b91',
    950: '#000000',
  },
}
SCSS
$custom: #305b91;
$custom-light: #7389b1;
$custom-dark: #000000;
JSON
{
  "hex": "#305b91",
  "rgb": {
    "r": 48,
    "g": 91,
    "b": 145
  },
  "hsl": {
    "h": 213.402,
    "s": 50.259,
    "l": 37.843
  },
  "oklch": {
    "l": 0.46713,
    "c": 0.10045,
    "h": 255.1
  },
  "luminance": 0.10155
}

Semantic roles & 50–950 ramp

primary
#305B91
secondary
#B69367
accent
#9C4EDA
background
#F7F8FA
surface
#EDEFF5
border
#C8CACF
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305B91

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

Preview Lab → · Contrast checker → · Palette generator →

#305B91 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva