#28346F#28346F

#28346F is a dark, moderate blue. Relative luminance 0.041; OKLCH L 34.9% C 0.103 H 271.5°. Best body text is #FFFFFF at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#28346F
RGBrgb(40, 52, 111)
HSLhsl(230, 47%, 30%)
HSVhsv(230, 64%, 44%)
CMYKcmyk(64%, 53.2%, 0%, 56.5%)
CIE-LABlab(23.85, 15.22, -35.85)
CIE-LCHlch(23.85, 38.94, 293.00°)
OKLaboklab(34.93% 0.0027 -0.1026)
OKLCHoklch(34.93% 0.103 271.5)
XYZxyz(4.9714, 4.0544, 15.5564)
Luminance0.0406 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28346F #6F6328
analogous
#28586F #28346F #40286F
triadic
#28346F #6F2834 #346F28
tetradic
#28346F #6F2858 #6F6328 #286F40
square
#28346F #6F2858 #6F6328 #286F40
split-complementary
#28346F #6F4028 #586F28
monochromatic
#080B16 #181F42 #28346F #38499C #5164C0

Accessibility & contrast

On white

11.60
#28346F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#28346F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28346F
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28346F#FFFFFF#000000##FFFFFF
##28346F1.0011.601.8111.60
#FFFFFF11.601.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#143C71
Deuteranopia (green-blind)
#04366E
Tritanopia (blue-blind)
#00424C
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #28346f;
/* rgb */ color: rgb(40, 52, 111);
/* oklch */ color: oklch(34.9% 0.103 271.5);
Tailwind
colors: {
  custom: {
    50: '#6a6b99',
    500: '#28346f',
    950: '#000000',
  },
}
SCSS
$custom: #28346f;
$custom-light: #6a6b99;
$custom-dark: #000000;
JSON
{
  "hex": "#28346f",
  "rgb": {
    "r": 40,
    "g": 52,
    "b": 111
  },
  "hsl": {
    "h": 229.859,
    "s": 47.02,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34927,
    "c": 0.10267,
    "h": 271.5
  },
  "luminance": 0.04055
}

Semantic roles & 50–950 ramp

primary
#28346F
secondary
#A19451
accent
#C051D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #28346F

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

Preview Lab → · Contrast checker → · Palette generator →

#28346F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva