#305E97#305E97

#305E97 is a mid, moderate cyan. Relative luminance 0.109; OKLCH L 47.8% C 0.105 H 255.0°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#305E97
RGBrgb(48, 94, 151)
HSLhsl(213, 52%, 39%)
HSVhsv(213, 68%, 59%)
CMYKcmyk(68.2%, 37.7%, 0%, 40.8%)
CIE-LABlab(39.36, 3.62, -35.85)
CIE-LCHlch(39.36, 36.03, 275.76°)
OKLaboklab(47.79% -0.0274 -0.1019)
OKLCHoklch(47.79% 0.106 255)
XYZxyz(10.8055, 10.8671, 30.8002)
Luminance0.1087 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305E97 #976930
analogous
#309297 #305E97 #363097
triadic
#305E97 #97305E #5E9730
tetradic
#305E97 #973092 #976930 #309736
square
#305E97 #973092 #976930 #309736
split-complementary
#305E97 #973630 #929730
monochromatic
#12243A #214169 #305E97 #417BC3 #709BD2

Accessibility & contrast

On white

6.62
#305E97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#305E97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #305E97
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305E97#FFFFFF#000000##FFFFFF
##305E971.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456299
Deuteranopia (green-blind)
#365896
Tritanopia (blue-blind)
#006B73
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #305e97;
/* rgb */ color: rgb(48, 94, 151);
/* oklch */ color: oklch(47.8% 0.105 255.0);
Tailwind
colors: {
  custom: {
    50: '#748bb6',
    500: '#305e97',
    950: '#000000',
  },
}
SCSS
$custom: #305e97;
$custom-light: #748bb6;
$custom-dark: #000000;
JSON
{
  "hex": "#305e97",
  "rgb": {
    "r": 48,
    "g": 94,
    "b": 151
  },
  "hsl": {
    "h": 213.204,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.47787,
    "c": 0.1055,
    "h": 255
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#305E97
secondary
#B9966A
accent
#9C4DDB
background
#F7F8FB
surface
#EDF0F6
border
#C8CBD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305E97

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

Preview Lab → · Contrast checker → · Palette generator →

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