#28367E#28367E

#28367E is a dark, vivid blue. Relative luminance 0.046; OKLCH L 36.6% C 0.123 H 270.8°. Best body text is #FFFFFF at 10.94:1 contrast (WCAG AA passes).

Color values

HEX#28367E
RGBrgb(40, 54, 126)
HSLhsl(230, 52%, 33%)
HSVhsv(230, 68%, 49%)
CMYKcmyk(68.3%, 57.1%, 0%, 50.6%)
CIE-LABlab(25.55, 19.54, -42.63)
CIE-LCHlch(25.55, 46.90, 294.62°)
OKLaboklab(36.56% 0.0018 -0.1226)
OKLCHoklch(36.56% 0.123 270.8)
XYZxyz(5.9589, 4.5953, 20.3076)
Luminance0.0460 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28367E #7E7028
analogous
#28617E #28367E #45287E
triadic
#28367E #7E2836 #367E28
tetradic
#28367E #7E2861 #7E7028 #287E45
square
#28367E #7E2861 #7E7028 #287E45
split-complementary
#28367E #7E4528 #617E28
monochromatic
#0B0E21 #192250 #28367E #374AAC #5769CA

Accessibility & contrast

On white

10.94
#28367E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#28367E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28367E
10.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28367E#FFFFFF#000000##FFFFFF
##28367E1.0010.941.9210.94
#FFFFFF10.941.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004180
Deuteranopia (green-blind)
#00397D
Tritanopia (blue-blind)
#004754
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #28367e;
/* rgb */ color: rgb(40, 54, 126);
/* oklch */ color: oklch(36.6% 0.123 270.8);
Tailwind
colors: {
  custom: {
    50: '#6d6ca4',
    500: '#28367e',
    950: '#000000',
  },
}
SCSS
$custom: #28367e;
$custom-light: #6d6ca4;
$custom-dark: #000000;
JSON
{
  "hex": "#28367e",
  "rgb": {
    "r": 40,
    "g": 54,
    "b": 126
  },
  "hsl": {
    "h": 230.233,
    "s": 51.807,
    "l": 32.549
  },
  "oklch": {
    "l": 0.36564,
    "c": 0.12258,
    "h": 270.8
  },
  "luminance": 0.04596
}

Semantic roles & 50–950 ramp

primary
#28367E
secondary
#AFA053
accent
#C44DDB
background
#F6F6FA
surface
#ECEBF4
border
#C7C6CE
text
#08070F
muted
#7A7A7F

Preview Lab

Preview with #28367E

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

Preview Lab → · Contrast checker → · Palette generator →

#28367E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva