#303457#303457

#303457 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 33.9% C 0.062 H 277.6°. Best body text is #FFFFFF at 11.97:1 contrast (WCAG AA passes).

Color values

HEX#303457
RGBrgb(48, 52, 87)
HSLhsl(234, 29%, 26%)
HSVhsv(234, 45%, 34%)
CMYKcmyk(44.8%, 40.2%, 0%, 65.9%)
CIE-LABlab(22.90, 8.61, -21.70)
CIE-LCHlch(22.90, 23.35, 291.64°)
OKLaboklab(33.86% 0.0081 -0.061)
OKLCHoklch(33.86% 0.062 277.6)
XYZxyz(4.1667, 3.7723, 9.5236)
Luminance0.0377 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#303457 #575330
analogous
#304857 #303457 #403057
triadic
#303457 #573034 #345730
tetradic
#303457 #573048 #575330 #305740
square
#303457 #573048 #575330 #305740
split-complementary
#303457 #574030 #485730
monochromatic
#0B0C14 #1A1C30 #303457 #464C7E #5C64A5

Accessibility & contrast

On white

11.97
#303457 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#303457 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #303457
11.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##303457#FFFFFF#000000##FFFFFF
##3034571.0011.971.7511.97
#FFFFFF11.971.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF11.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283858
Deuteranopia (green-blind)
#253556
Tritanopia (blue-blind)
#243B41
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #303457;
/* rgb */ color: rgb(48, 52, 87);
/* oklch */ color: oklch(33.9% 0.062 277.6);
Tailwind
colors: {
  custom: {
    50: '#6a6b86',
    500: '#303457',
    950: '#000000',
  },
}
SCSS
$custom: #303457;
$custom-light: #6a6b86;
$custom-dark: #000000;
JSON
{
  "hex": "#303457",
  "rgb": {
    "r": 48,
    "g": 52,
    "b": 87
  },
  "hsl": {
    "h": 233.846,
    "s": 28.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.3386,
    "c": 0.06153,
    "h": 277.6
  },
  "luminance": 0.03772
}

Semantic roles & 50–950 ramp

primary
#303457
secondary
#88845A
accent
#BB63C5
background
#F6F6F8
surface
#EBEBEF
border
#C6C6CA
text
#06060B
muted
#7A7A7C

Preview Lab

Preview with #303457

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

Preview Lab → · Contrast checker → · Palette generator →

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