#303266#303266

#303266 is a dark, moderate blue. Relative luminance 0.039; OKLCH L 34.4% C 0.089 H 278.9°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#303266
RGBrgb(48, 50, 102)
HSLhsl(238, 36%, 29%)
HSVhsv(238, 53%, 40%)
CMYKcmyk(52.9%, 51%, 0%, 60%)
CIE-LABlab(23.23, 15.16, -31.00)
CIE-LCHlch(23.23, 34.51, 296.06°)
OKLaboklab(34.41% 0.0139 -0.0882)
OKLCHoklch(34.41% 0.089 278.9)
XYZxyz(4.7571, 3.8686, 13.0639)
Luminance0.0387 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303266 #666430
analogous
#304D66 #303266 #493066
triadic
#303266 #663032 #326630
tetradic
#303266 #66304D #666430 #306649
square
#303266 #66304D #666430 #306649
split-complementary
#303266 #664930 #4D6630
monochromatic
#0A0A15 #1C1E3C #303266 #444690 #5D61B3

Accessibility & contrast

On white

11.84
#303266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#303266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303266
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303266#FFFFFF#000000##FFFFFF
##3032661.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B3A68
Deuteranopia (green-blind)
#163565
Tritanopia (blue-blind)
#1B3D47
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303266;
/* rgb */ color: rgb(48, 50, 102);
/* oklch */ color: oklch(34.4% 0.089 278.9);
Tailwind
colors: {
  custom: {
    50: '#6d6992',
    500: '#303266',
    950: '#000000',
  },
}
SCSS
$custom: #303266;
$custom-light: #6d6992;
$custom-dark: #000000;
JSON
{
  "hex": "#303266",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 102
  },
  "hsl": {
    "h": 237.778,
    "s": 36,
    "l": 29.412
  },
  "oklch": {
    "l": 0.34411,
    "c": 0.08928,
    "h": 278.9
  },
  "luminance": 0.03869
}

Semantic roles & 50–950 ramp

primary
#303266
secondary
#97955A
accent
#C85CCC
background
#F6F6F9
surface
#ECEBF1
border
#C7C6CB
text
#07060D
muted
#7A7A7E

Preview Lab

Preview with #303266

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

Preview Lab → · Contrast checker → · Palette generator →

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