#284283#284283

#284283 is a dark, moderate blue. Relative luminance 0.060; OKLCH L 39.6% C 0.114 H 265.2°. Best body text is #FFFFFF at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#284283
RGBrgb(40, 66, 131)
HSLhsl(223, 53%, 34%)
HSVhsv(223, 69%, 51%)
CMYKcmyk(69.5%, 49.6%, 0%, 48.6%)
CIE-LABlab(29.38, 13.18, -39.58)
CIE-LCHlch(29.38, 41.72, 288.42°)
OKLaboklab(39.58% -0.0095 -0.1134)
OKLCHoklch(39.58% 0.114 265.2)
XYZxyz(6.9186, 5.9856, 22.2590)
Luminance0.0599 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284283 #836928
analogous
#286F83 #284283 #3B2883
triadic
#284283 #832842 #428328
tetradic
#284283 #83286F #836928 #28833B
square
#284283 #83286F #836928 #28833B
split-complementary
#284283 #833B28 #6F8328
monochromatic
#0B1325 #1A2A54 #284283 #365AB2 #597ACC

Accessibility & contrast

On white

9.56
#284283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#284283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284283
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284283#FFFFFF#000000##FFFFFF
##2842831.009.562.209.56
#FFFFFF9.561.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#204A85
Deuteranopia (green-blind)
#0A4182
Tritanopia (blue-blind)
#00515C
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #284283;
/* rgb */ color: rgb(40, 66, 131);
/* oklch */ color: oklch(39.6% 0.114 265.2);
Tailwind
colors: {
  custom: {
    50: '#6d75a7',
    500: '#284283',
    950: '#000000',
  },
}
SCSS
$custom: #284283;
$custom-light: #6d75a7;
$custom-dark: #000000;
JSON
{
  "hex": "#284283",
  "rgb": {
    "r": 40,
    "g": 66,
    "b": 131
  },
  "hsl": {
    "h": 222.857,
    "s": 53.216,
    "l": 33.529
  },
  "oklch": {
    "l": 0.39578,
    "c": 0.11382,
    "h": 265.2
  },
  "luminance": 0.05986
}

Semantic roles & 50–950 ramp

primary
#284283
secondary
#B19755
accent
#B34BDD
background
#F6F7FA
surface
#ECEDF4
border
#C7C8CE
text
#08080F
muted
#7B7B7F

Preview Lab

Preview with #284283

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

Preview Lab → · Contrast checker → · Palette generator →

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