#284296#284296

#284296 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.1% C 0.141 H 266.9°. Best body text is #FFFFFF at 9.09:1 contrast (WCAG AA passes).

Color values

HEX#284296
RGBrgb(40, 66, 150)
HSLhsl(226, 58%, 37%)
HSVhsv(226, 73%, 59%)
CMYKcmyk(73.3%, 56%, 0%, 41.2%)
CIE-LABlab(30.76, 20.53, -49.05)
CIE-LCHlch(30.76, 53.17, 292.71°)
OKLaboklab(41.07% -0.0075 -0.1413)
OKLCHoklch(41.07% 0.141 266.9)
XYZxyz(8.3264, 6.5487, 29.6735)
Luminance0.0655 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284296 #967C28
analogous
#287996 #284296 #452896
triadic
#284296 #962842 #429628
tetradic
#284296 #962879 #967C28 #289645
square
#284296 #962879 #967C28 #289645
split-complementary
#284296 #964528 #799628
monochromatic
#0E1735 #1B2D66 #284296 #3557C6 #637ED5

Accessibility & contrast

On white

9.09
#284296 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#284296 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284296
9.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284296#FFFFFF#000000##FFFFFF
##2842961.009.092.319.09
#FFFFFF9.091.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004E99
Deuteranopia (green-blind)
#004494
Tritanopia (blue-blind)
#005665
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #284296;
/* rgb */ color: rgb(40, 66, 150);
/* oklch */ color: oklch(41.1% 0.141 266.9);
Tailwind
colors: {
  custom: {
    50: '#7175b6',
    500: '#284296',
    950: '#000000',
  },
}
SCSS
$custom: #284296;
$custom-light: #7175b6;
$custom-dark: #000000;
JSON
{
  "hex": "#284296",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 150
  },
  "hsl": {
    "h": 225.818,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.41065,
    "c": 0.14148,
    "h": 266.9
  },
  "luminance": 0.0655
}

Semantic roles & 50–950 ramp

primary
#284296
secondary
#BBA55F
accent
#BD47E1
background
#F7F7FB
surface
#EDEDF6
border
#C8C8D0
text
#090811
muted
#7B7B80

Preview Lab

Preview with #284296

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

Preview Lab → · Contrast checker → · Palette generator →

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