#304265#304265

#304265 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.1% C 0.065 H 262.9°. Best body text is #FFFFFF at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#304265
RGBrgb(48, 66, 101)
HSLhsl(220, 36%, 29%)
HSVhsv(220, 52%, 40%)
CMYKcmyk(52.5%, 34.7%, 0%, 60.4%)
CIE-LABlab(28.02, 3.84, -22.77)
CIE-LCHlch(28.02, 23.10, 279.58°)
OKLaboklab(38.07% -0.008 -0.064)
OKLCHoklch(38.07% 0.065 262.9)
XYZxyz(5.5153, 5.4640, 13.0734)
Luminance0.0546 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#304265 #655330
analogous
#305D65 #304265 #393065
triadic
#304265 #653042 #426530
tetradic
#304265 #65305D #655330 #306539
square
#304265 #65305D #655330 #306539
split-complementary
#304265 #653930 #5D6530
monochromatic
#0A0E15 #1C273C #304265 #445D8E #5D7AB2

Accessibility & contrast

On white

10.03
#304265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #304265
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##304265#FFFFFF#000000##FFFFFF
##3042651.0010.032.0910.03
#FFFFFF10.031.0021.001.00
#0000002.0921.001.0021.00
##FFFFFF10.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354566
Deuteranopia (green-blind)
#2F4064
Tritanopia (blue-blind)
#194A4F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #304265;
/* rgb */ color: rgb(48, 66, 101);
/* oklch */ color: oklch(38.1% 0.065 262.9);
Tailwind
colors: {
  custom: {
    50: '#6c7691',
    500: '#304265',
    950: '#000000',
  },
}
SCSS
$custom: #304265;
$custom-light: #6c7691;
$custom-dark: #000000;
JSON
{
  "hex": "#304265",
  "rgb": {
    "r": 48,
    "g": 66,
    "b": 101
  },
  "hsl": {
    "h": 219.623,
    "s": 35.57,
    "l": 29.216
  },
  "oklch": {
    "l": 0.38065,
    "c": 0.06453,
    "h": 262.9
  },
  "luminance": 0.05464
}

Semantic roles & 50–950 ramp

primary
#304265
secondary
#96825A
accent
#A65CCC
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#07080C
muted
#7A7B7D

Preview Lab

Preview with #304265

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

Preview Lab → · Contrast checker → · Palette generator →

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