#284DBC#284DBC

#284DBC is a mid, vivid blue. Relative luminance 0.094; OKLCH L 46.5% C 0.180 H 265.6°. Best body text is #FFFFFF at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#284DBC
RGBrgb(40, 77, 188)
HSLhsl(225, 65%, 45%)
HSVhsv(225, 79%, 74%)
CMYKcmyk(78.7%, 59%, 0%, 26.3%)
CIE-LABlab(36.72, 27.72, -62.07)
CIE-LCHlch(36.72, 67.98, 294.06°)
OKLaboklab(46.48% -0.0138 -0.1793)
OKLCHoklch(46.48% 0.18 265.6)
XYZxyz(12.6028, 9.3883, 48.7151)
Luminance0.0939 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284DBC #BC9728
analogous
#2897BC #284DBC #4D28BC
triadic
#284DBC #BC284D #4DBC28
tetradic
#284DBC #BC2897 #BC9728 #28BC4D
square
#284DBC #BC2897 #BC9728 #28BC4D
split-complementary
#284DBC #BC4D28 #97BC28
monochromatic
#132457 #1D388A #284DBC #496DD8 #7B95E3

Accessibility & contrast

On white

7.30
#284DBC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#284DBC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284DBC
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284DBC#FFFFFF#000000##FFFFFF
##284DBC1.007.302.887.30
#FFFFFF7.301.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#0050BA
Tritanopia (blue-blind)
#00697D
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #284dbc;
/* rgb */ color: rgb(40, 77, 188);
/* oklch */ color: oklch(46.5% 0.180 265.6);
Tailwind
colors: {
  custom: {
    50: '#7a7ed1',
    500: '#284dbc',
    950: '#000000',
  },
}
SCSS
$custom: #284dbc;
$custom-light: #7a7ed1;
$custom-dark: #000000;
JSON
{
  "hex": "#284dbc",
  "rgb": {
    "r": 40,
    "g": 77,
    "b": 188
  },
  "hsl": {
    "h": 225,
    "s": 64.912,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.17988,
    "h": 265.6
  },
  "luminance": 0.0939
}

Semantic roles & 50–950 ramp

primary
#284DBC
secondary
#CBB675
accent
#BE40E8
background
#F8F7FC
surface
#EFEEF9
border
#CAC9D2
text
#0B0914
muted
#7C7B82

Preview Lab

Preview with #284DBC

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

Preview Lab → · Contrast checker → · Palette generator →

#284DBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva