#28538B#28538B

#28538B is a dark, moderate cyan. Relative luminance 0.085; OKLCH L 44.1% C 0.104 H 256.0°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#28538B
RGBrgb(40, 83, 139)
HSLhsl(214, 55%, 35%)
HSVhsv(214, 71%, 55%)
CMYKcmyk(71.2%, 40.3%, 0%, 45.5%)
CIE-LABlab(35.00, 4.85, -35.51)
CIE-LCHlch(35.00, 35.84, 277.78°)
OKLaboklab(44.08% -0.0252 -0.1012)
OKLCHoklch(44.08% 0.104 256)
XYZxyz(8.6268, 8.5008, 25.6073)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28538B #8B6028
analogous
#28858B #28538B #2E288B
triadic
#28538B #8B2853 #538B28
tetradic
#28538B #8B2885 #8B6028 #288B2E
square
#28538B #8B2885 #8B6028 #288B2E
split-complementary
#28538B #8B2E28 #858B28
monochromatic
#0D1A2C #1A375B #28538B #366FBB #5D8FD0

Accessibility & contrast

On white

7.78
#28538B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#28538B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28538B
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28538B#FFFFFF#000000##FFFFFF
##28538B1.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39578D
Deuteranopia (green-blind)
#2A4E8A
Tritanopia (blue-blind)
#006068
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #28538b;
/* rgb */ color: rgb(40, 83, 139);
/* oklch */ color: oklch(44.1% 0.104 256.0);
Tailwind
colors: {
  custom: {
    50: '#6e83ad',
    500: '#28538b',
    950: '#000000',
  },
}
SCSS
$custom: #28538b;
$custom-light: #6e83ad;
$custom-dark: #000000;
JSON
{
  "hex": "#28538b",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 139
  },
  "hsl": {
    "h": 213.939,
    "s": 55.307,
    "l": 35.098
  },
  "oklch": {
    "l": 0.44084,
    "c": 0.10428,
    "h": 256
  },
  "luminance": 0.08502
}

Semantic roles & 50–950 ramp

primary
#28538B
secondary
#B68D59
accent
#9E49DF
background
#F7F7FA
surface
#EDEEF4
border
#C8C9CE
text
#080A10
muted
#7B7C7F

Preview Lab

Preview with #28538B

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

Preview Lab → · Contrast checker → · Palette generator →

#28538B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva