#285094#285094

#285094 is a dark, vivid blue. Relative luminance 0.083; OKLCH L 44.0% C 0.121 H 260.3°. Best body text is #FFFFFF at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#285094
RGBrgb(40, 80, 148)
HSLhsl(218, 57%, 37%)
HSVhsv(218, 73%, 58%)
CMYKcmyk(73%, 45.9%, 0%, 42%)
CIE-LABlab(34.65, 10.30, -41.55)
CIE-LCHlch(34.65, 42.81, 283.92°)
OKLaboklab(43.99% -0.0203 -0.119)
OKLCHoklch(43.99% 0.121 260.3)
XYZxyz(9.0871, 8.3256, 29.1393)
Luminance0.0833 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#285094 #946C28
analogous
#288694 #285094 #362894
triadic
#285094 #942850 #509428
tetradic
#285094 #942886 #946C28 #289436
square
#285094 #942886 #946C28 #289436
split-complementary
#285094 #943628 #869428
monochromatic
#0E1C34 #1B3664 #285094 #356AC4 #628CD5

Accessibility & contrast

On white

7.88
#285094 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#285094 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #285094
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##285094#FFFFFF#000000##FFFFFF
##2850941.007.882.677.88
#FFFFFF7.881.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5797
Deuteranopia (green-blind)
#184D93
Tritanopia (blue-blind)
#00606A
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #285094;
/* rgb */ color: rgb(40, 80, 148);
/* oklch */ color: oklch(44.0% 0.121 260.3);
Tailwind
colors: {
  custom: {
    50: '#7080b4',
    500: '#285094',
    950: '#000000',
  },
}
SCSS
$custom: #285094;
$custom-light: #7080b4;
$custom-dark: #000000;
JSON
{
  "hex": "#285094",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 148
  },
  "hsl": {
    "h": 217.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.4399,
    "c": 0.12069,
    "h": 260.3
  },
  "luminance": 0.08327
}

Semantic roles & 50–950 ramp

primary
#285094
secondary
#BA985E
accent
#A847E1
background
#F7F7FB
surface
#EDEEF6
border
#C8C9D0
text
#080A11
muted
#7B7C80

Preview Lab

Preview with #285094

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

Preview Lab → · Contrast checker → · Palette generator →

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