#283DA3#283DA3

#283DA3 is a dark, vivid blue. Relative luminance 0.064; OKLCH L 41.2% C 0.166 H 268.8°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#283DA3
RGBrgb(40, 61, 163)
HSLhsl(230, 61%, 40%)
HSVhsv(230, 75%, 64%)
CMYKcmyk(75.5%, 62.6%, 0%, 36.1%)
CIE-LABlab(30.48, 28.84, -57.39)
CIE-LCHlch(30.48, 64.23, 296.68°)
OKLaboklab(41.19% -0.0034 -0.1658)
OKLCHoklch(41.19% 0.166 268.8)
XYZxyz(9.1524, 6.4320, 35.4024)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283DA3 #A38E28
analogous
#287BA3 #283DA3 #5128A3
triadic
#283DA3 #A3283D #3DA328
tetradic
#283DA3 #A3287B #A38E28 #28A351
square
#283DA3 #A3287B #A38E28 #28A351
split-complementary
#283DA3 #A35128 #7BA328
monochromatic
#101841 #1C2B72 #283DA3 #3A53CF #6B7EDB

Accessibility & contrast

On white

9.18
#283DA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#283DA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283DA3
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283DA3#FFFFFF#000000##FFFFFF
##283DA31.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#00576A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283da3;
/* rgb */ color: rgb(40, 61, 163);
/* oklch */ color: oklch(41.2% 0.166 268.8);
Tailwind
colors: {
  custom: {
    50: '#7572bf',
    500: '#283da3',
    950: '#000000',
  },
}
SCSS
$custom: #283da3;
$custom-light: #7572bf;
$custom-dark: #000000;
JSON
{
  "hex": "#283da3",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 163
  },
  "hsl": {
    "h": 229.756,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.41188,
    "c": 0.16589,
    "h": 268.8
  },
  "luminance": 0.06433
}

Semantic roles & 50–950 ramp

primary
#283DA3
secondary
#C1B166
accent
#C844E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283DA3

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

Preview Lab → · Contrast checker → · Palette generator →

#283DA3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva