#303262#303262

#303262 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.1% C 0.083 H 279.2°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#303262
RGBrgb(48, 50, 98)
HSLhsl(238, 34%, 29%)
HSVhsv(238, 51%, 38%)
CMYKcmyk(51%, 49%, 0%, 61.6%)
CIE-LABlab(22.97, 13.76, -28.82)
CIE-LCHlch(22.97, 31.94, 295.52°)
OKLaboklab(34.13% 0.0133 -0.0818)
OKLCHoklch(34.13% 0.083 279.2)
XYZxyz(4.5635, 3.7912, 12.0442)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303262 #626030
analogous
#304B62 #303262 #473062
triadic
#303262 #623032 #326230
tetradic
#303262 #62304B #626030 #306247
square
#303262 #62304B #626030 #306247
split-complementary
#303262 #624730 #4B6230
monochromatic
#0A0A15 #1C1D39 #303262 #44478B #5D60B0

Accessibility & contrast

On white

11.94
#303262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#303262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303262
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303262#FFFFFF#000000##FFFFFF
##3032621.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E3964
Deuteranopia (green-blind)
#1A3561
Tritanopia (blue-blind)
#1E3C45
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303262;
/* rgb */ color: rgb(48, 50, 98);
/* oklch */ color: oklch(34.1% 0.083 279.2);
Tailwind
colors: {
  custom: {
    50: '#6c698f',
    500: '#303262',
    950: '#000000',
  },
}
SCSS
$custom: #303262;
$custom-light: #6c698f;
$custom-dark: #000000;
JSON
{
  "hex": "#303262",
  "rgb": {
    "r": 48,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 237.6,
    "s": 34.247,
    "l": 28.627
  },
  "oklch": {
    "l": 0.34126,
    "c": 0.08287,
    "h": 279.2
  },
  "luminance": 0.03791
}

Semantic roles & 50–950 ramp

primary
#303262
secondary
#93915A
accent
#C65DCA
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#07060C
muted
#7A7A7D

Preview Lab

Preview with #303262

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

Preview Lab → · Contrast checker → · Palette generator →

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