#305697#305697

#305697 is a mid, moderate blue. Relative luminance 0.095; OKLCH L 45.9% C 0.115 H 260.4°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#305697
RGBrgb(48, 86, 151)
HSLhsl(218, 52%, 39%)
HSVhsv(218, 68%, 59%)
CMYKcmyk(68.2%, 43%, 0%, 40.8%)
CIE-LABlab(36.96, 8.78, -39.66)
CIE-LCHlch(36.96, 40.62, 282.49°)
OKLaboklab(45.93% -0.0191 -0.1131)
OKLCHoklch(45.93% 0.115 260.4)
XYZxyz(10.1306, 9.5173, 30.5753)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#305697 #977130
analogous
#308A97 #305697 #3E3097
triadic
#305697 #973056 #569730
tetradic
#305697 #97308A #977130 #30973E
square
#305697 #97308A #977130 #30973E
split-complementary
#305697 #973E30 #8A9730
monochromatic
#12213A #213C69 #305697 #4171C3 #7094D2

Accessibility & contrast

On white

7.23
#305697 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#305697 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #305697
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##305697#FFFFFF#000000##FFFFFF
##3056971.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385C9A
Deuteranopia (green-blind)
#275396
Tritanopia (blue-blind)
#00656F
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #305697;
/* rgb */ color: rgb(48, 86, 151);
/* oklch */ color: oklch(45.9% 0.115 260.4);
Tailwind
colors: {
  custom: {
    50: '#7485b6',
    500: '#305697',
    950: '#000000',
  },
}
SCSS
$custom: #305697;
$custom-light: #7485b6;
$custom-dark: #000000;
JSON
{
  "hex": "#305697",
  "rgb": {
    "r": 48,
    "g": 86,
    "b": 151
  },
  "hsl": {
    "h": 217.864,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.45928,
    "c": 0.11475,
    "h": 260.4
  },
  "luminance": 0.09518
}

Semantic roles & 50–950 ramp

primary
#305697
secondary
#B99C6A
accent
#A74DDB
background
#F7F8FB
surface
#EDEFF6
border
#C8CAD0
text
#090B11
muted
#7B7C80

Preview Lab

Preview with #305697

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

Preview Lab → · Contrast checker → · Palette generator →

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