#304263#304263

#304263 is a dark, moderate blue. Relative luminance 0.054; OKLCH L 37.9% C 0.061 H 262.0°. Best body text is #FFFFFF at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#304263
RGBrgb(48, 66, 99)
HSLhsl(219, 35%, 29%)
HSVhsv(219, 52%, 39%)
CMYKcmyk(51.5%, 33.3%, 0%, 61.2%)
CIE-LABlab(27.91, 3.15, -21.65)
CIE-LCHlch(27.91, 21.88, 278.28°)
OKLaboklab(37.95% -0.0086 -0.0608)
OKLCHoklch(37.95% 0.061 262)
XYZxyz(5.4185, 5.4253, 12.5636)
Luminance0.0543 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304263 #635130
analogous
#305C63 #304263 #383063
triadic
#304263 #633042 #426330
tetradic
#304263 #63305C #635130 #306338
square
#304263 #63305C #635130 #306338
split-complementary
#304263 #633830 #5C6330
monochromatic
#0A0E15 #1C273A #304263 #445D8C #5D7AB0

Accessibility & contrast

On white

10.07
#304263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.09
#304263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #304263
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304263#FFFFFF#000000##FFFFFF
##3042631.0010.072.0910.07
#FFFFFF10.071.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364464
Deuteranopia (green-blind)
#304062
Tritanopia (blue-blind)
#1A494E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #304263;
/* rgb */ color: rgb(48, 66, 99);
/* oklch */ color: oklch(37.9% 0.061 262.0);
Tailwind
colors: {
  custom: {
    50: '#6c768f',
    500: '#304263',
    950: '#000000',
  },
}
SCSS
$custom: #304263;
$custom-light: #6c768f;
$custom-dark: #000000;
JSON
{
  "hex": "#304263",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 99
  },
  "hsl": {
    "h": 218.824,
    "s": 34.694,
    "l": 28.824
  },
  "oklch": {
    "l": 0.37949,
    "c": 0.06139,
    "h": 262
  },
  "luminance": 0.05426
}

Semantic roles & 50–950 ramp

primary
#304263
secondary
#94805A
accent
#A45DCB
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #304263

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

Preview Lab → · Contrast checker → · Palette generator →

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