#283DA7#283DA7

#283DA7 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.6% C 0.171 H 268.8°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#283DA7
RGBrgb(40, 61, 167)
HSLhsl(230, 61%, 41%)
HSVhsv(230, 76%, 65%)
CMYKcmyk(76%, 63.5%, 0%, 34.5%)
CIE-LABlab(30.83, 30.34, -59.23)
CIE-LCHlch(30.83, 66.55, 297.12°)
OKLaboklab(41.55% -0.0035 -0.1712)
OKLCHoklch(41.55% 0.171 268.8)
XYZxyz(9.5165, 6.5776, 37.3198)
Luminance0.0658 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283DA7 #A79228
analogous
#287CA7 #283DA7 #5228A7
triadic
#283DA7 #A7283D #3DA728
tetradic
#283DA7 #A7287C #A79228 #28A752
square
#283DA7 #A7287C #A79228 #28A752
split-complementary
#283DA7 #A75228 #7CA728
monochromatic
#101944 #1C2B76 #283DA7 #3C54D0 #6D80DC

Accessibility & contrast

On white

9.07
#283DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#283DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283DA7
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283DA7#FFFFFF#000000##FFFFFF
##283DA71.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAA
Deuteranopia (green-blind)
#0043A5
Tritanopia (blue-blind)
#00596C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283da7;
/* rgb */ color: rgb(40, 61, 167);
/* oklch */ color: oklch(41.6% 0.171 268.8);
Tailwind
colors: {
  custom: {
    50: '#7672c2',
    500: '#283da7',
    950: '#000000',
  },
}
SCSS
$custom: #283da7;
$custom-light: #7672c2;
$custom-dark: #000000;
JSON
{
  "hex": "#283da7",
  "rgb": {
    "r": 40,
    "g": 61,
    "b": 167
  },
  "hsl": {
    "h": 230.079,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41552,
    "c": 0.17128,
    "h": 268.8
  },
  "luminance": 0.06579
}

Semantic roles & 50–950 ramp

primary
#283DA7
secondary
#C3B468
accent
#CA43E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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