#283DA5#283DA5

#283DA5 is a dark, vivid blue. Relative luminance 0.065; OKLCH L 41.4% C 0.169 H 268.8°. Best body text is #FFFFFF at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#283DA5
RGBrgb(40, 61, 165)
HSLhsl(230, 61%, 40%)
HSVhsv(230, 76%, 65%)
CMYKcmyk(75.8%, 63%, 0%, 35.3%)
CIE-LABlab(30.65, 29.59, -58.32)
CIE-LCHlch(30.65, 65.40, 296.91°)
OKLaboklab(41.37% -0.0035 -0.1685)
OKLCHoklch(41.37% 0.169 268.8)
XYZxyz(9.3330, 6.5042, 36.3536)
Luminance0.0650 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283DA5 #A59028
analogous
#287BA5 #283DA5 #5128A5
triadic
#283DA5 #A5283D #3DA528
tetradic
#283DA5 #A5287B #A59028 #28A551
square
#283DA5 #A5287B #A59028 #28A551
split-complementary
#283DA5 #A55128 #7BA528
monochromatic
#101942 #1C2B74 #283DA5 #3B54CF #6C7FDB

Accessibility & contrast

On white

9.13
#283DA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#283DA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283DA5
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283DA5#FFFFFF#000000##FFFFFF
##283DA51.009.132.309.13
#FFFFFF9.131.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#0042A3
Tritanopia (blue-blind)
#00586B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283da5;
/* rgb */ color: rgb(40, 61, 165);
/* oklch */ color: oklch(41.4% 0.169 268.8);
Tailwind
colors: {
  custom: {
    50: '#7572c1',
    500: '#283da5',
    950: '#000000',
  },
}
SCSS
$custom: #283da5;
$custom-light: #7572c1;
$custom-dark: #000000;
JSON
{
  "hex": "#283da5",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 165
  },
  "hsl": {
    "h": 229.92,
    "s": 60.976,
    "l": 40.196
  },
  "oklch": {
    "l": 0.41369,
    "c": 0.16859,
    "h": 268.8
  },
  "luminance": 0.06505
}

Semantic roles & 50–950 ramp

primary
#283DA5
secondary
#C2B367
accent
#C944E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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