#28458C#28458C

#28458C is a dark, vivid blue. Relative luminance 0.066; OKLCH L 40.9% C 0.123 H 264.8°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#28458C
RGBrgb(40, 69, 140)
HSLhsl(223, 56%, 35%)
HSVhsv(223, 71%, 55%)
CMYKcmyk(71.4%, 50.7%, 0%, 45.1%)
CIE-LABlab(30.88, 14.62, -42.73)
CIE-LCHlch(30.88, 45.16, 288.88°)
OKLaboklab(40.92% -0.0112 -0.1226)
OKLCHoklch(40.92% 0.123 264.8)
XYZxyz(7.7352, 6.6000, 25.6721)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28458C #8C6F28
analogous
#28778C #28458C #3D288C
triadic
#28458C #8C2845 #458C28
tetradic
#28458C #8C2877 #8C6F28 #288C3D
square
#28458C #8C2877 #8C6F28 #288C3D
split-complementary
#28458C #8C3D28 #778C28
monochromatic
#0D162D #1A2E5C #28458C #365CBC #5E7FD1

Accessibility & contrast

On white

9.05
#28458C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#28458C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28458C
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28458C#FFFFFF#000000##FFFFFF
##28458C1.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4E8F
Deuteranopia (green-blind)
#00448B
Tritanopia (blue-blind)
#005662
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28458c;
/* rgb */ color: rgb(40, 69, 140);
/* oklch */ color: oklch(40.9% 0.123 264.8);
Tailwind
colors: {
  custom: {
    50: '#6f78ae',
    500: '#28458c',
    950: '#000000',
  },
}
SCSS
$custom: #28458c;
$custom-light: #6f78ae;
$custom-dark: #000000;
JSON
{
  "hex": "#28458c",
  "rgb": {
    "r": 40,
    "g": 69,
    "b": 140
  },
  "hsl": {
    "h": 222.6,
    "s": 55.556,
    "l": 35.294
  },
  "oklch": {
    "l": 0.40925,
    "c": 0.12314,
    "h": 264.8
  },
  "luminance": 0.06601
}

Semantic roles & 50–950 ramp

primary
#28458C
secondary
#B69B5A
accent
#B349DF
background
#F7F7FA
surface
#EDEDF4
border
#C8C8CE
text
#080810
muted
#7B7B7F

Preview Lab

Preview with #28458C

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

Preview Lab → · Contrast checker → · Palette generator →

#28458C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva