#284183#284183

#284183 is a dark, moderate blue. Relative luminance 0.059; OKLCH L 39.4% C 0.115 H 265.7°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#284183
RGBrgb(40, 65, 131)
HSLhsl(224, 53%, 34%)
HSVhsv(224, 69%, 51%)
CMYKcmyk(69.5%, 50.4%, 0%, 48.6%)
CIE-LABlab(29.08, 13.87, -40.06)
CIE-LCHlch(29.08, 42.39, 289.10°)
OKLaboklab(39.35% -0.0085 -0.1148)
OKLCHoklch(39.35% 0.115 265.7)
XYZxyz(6.8607, 5.8697, 22.2397)
Luminance0.0587 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284183 #836A28
analogous
#286E83 #284183 #3C2883
triadic
#284183 #832841 #418328
tetradic
#284183 #83286E #836A28 #28833C
square
#284183 #83286E #836A28 #28833C
split-complementary
#284183 #833C28 #6E8328
monochromatic
#0B1225 #1A2A54 #284183 #3658B2 #5979CC

Accessibility & contrast

On white

9.66
#284183 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#284183 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284183
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284183#FFFFFF#000000##FFFFFF
##2841831.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4985
Deuteranopia (green-blind)
#054182
Tritanopia (blue-blind)
#00505B
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284183;
/* rgb */ color: rgb(40, 65, 131);
/* oklch */ color: oklch(39.4% 0.115 265.7);
Tailwind
colors: {
  custom: {
    50: '#6d75a7',
    500: '#284183',
    950: '#000000',
  },
}
SCSS
$custom: #284183;
$custom-light: #6d75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284183",
  "rgb": {
    "r": 40,
    "g": 65,
    "b": 131
  },
  "hsl": {
    "h": 223.516,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39354,
    "c": 0.11515,
    "h": 265.7
  },
  "luminance": 0.0587
}

Semantic roles & 50–950 ramp

primary
#284183
secondary
#B19855
accent
#B54BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284183

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

Preview Lab → · Contrast checker → · Palette generator →

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