#284175#284175

#284175 is a dark, moderate blue. Relative luminance 0.055; OKLCH L 38.3% C 0.094 H 263.3°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#284175
RGBrgb(40, 65, 117)
HSLhsl(221, 49%, 31%)
HSVhsv(221, 66%, 46%)
CMYKcmyk(65.8%, 44.4%, 0%, 54.1%)
CIE-LABlab(28.16, 8.48, -32.77)
CIE-LCHlch(28.16, 33.85, 284.52°)
OKLaboklab(38.35% -0.011 -0.0934)
OKLCHoklch(38.35% 0.094 263.3)
XYZxyz(5.9751, 5.5155, 17.5759)
Luminance0.0552 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284175 #755C28
analogous
#286775 #284175 #352875
triadic
#284175 #752841 #417528
tetradic
#284175 #752867 #755C28 #287535
square
#284175 #752867 #755C28 #287535
split-complementary
#284175 #753528 #677528
monochromatic
#090E1A #182847 #284175 #385AA3 #5378C4

Accessibility & contrast

On white

9.98
#284175 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#284175 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284175
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284175#FFFFFF#000000##FFFFFF
##2841751.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294677
Deuteranopia (green-blind)
#1E3F74
Tritanopia (blue-blind)
#004D55
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #284175;
/* rgb */ color: rgb(40, 65, 117);
/* oklch */ color: oklch(38.3% 0.094 263.3);
Tailwind
colors: {
  custom: {
    50: '#6a759d',
    500: '#284175',
    950: '#000000',
  },
}
SCSS
$custom: #284175;
$custom-light: #6a759d;
$custom-dark: #000000;
JSON
{
  "hex": "#284175",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 117
  },
  "hsl": {
    "h": 220.519,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.38346,
    "c": 0.09404,
    "h": 263.3
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#284175
secondary
#A78B52
accent
#AC4FD9
background
#F6F7F9
surface
#ECEDF2
border
#C7C8CC
text
#07080E
muted
#7A7B7E

Preview Lab

Preview with #284175

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

Preview Lab → · Contrast checker → · Palette generator →

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