#283CA7#283CA7

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

Color values

HEX#283CA7
RGBrgb(40, 60, 167)
HSLhsl(231, 61%, 41%)
HSVhsv(231, 76%, 65%)
CMYKcmyk(76%, 64.1%, 0%, 34.5%)
CIE-LABlab(30.57, 31.00, -59.65)
CIE-LCHlch(30.57, 67.22, 297.46°)
OKLaboklab(41.37% -0.0029 -0.1725)
OKLCHoklch(41.37% 0.172 269)
XYZxyz(9.4636, 6.4718, 37.3022)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CA7 #A79328
analogous
#287BA7 #283CA7 #5328A7
triadic
#283CA7 #A7283C #3CA728
tetradic
#283CA7 #A7287B #A79328 #28A753
square
#283CA7 #A7287B #A79328 #28A753
split-complementary
#283CA7 #A75328 #7BA728
monochromatic
#101944 #1C2A76 #283CA7 #3C53D0 #6D7FDC

Accessibility & contrast

On white

9.15
#283CA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283CA7
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CA7#FFFFFF#000000##FFFFFF
##283CA71.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAA
Deuteranopia (green-blind)
#0042A5
Tritanopia (blue-blind)
#00586C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #283ca7;
/* rgb */ color: rgb(40, 60, 167);
/* oklch */ color: oklch(41.4% 0.172 269.0);
Tailwind
colors: {
  custom: {
    50: '#7671c2',
    500: '#283ca7',
    950: '#000000',
  },
}
SCSS
$custom: #283ca7;
$custom-light: #7671c2;
$custom-dark: #000000;
JSON
{
  "hex": "#283ca7",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 167
  },
  "hsl": {
    "h": 230.551,
    "s": 61.353,
    "l": 40.588
  },
  "oklch": {
    "l": 0.41366,
    "c": 0.17248,
    "h": 269
  },
  "luminance": 0.06473
}

Semantic roles & 50–950 ramp

primary
#283CA7
secondary
#C3B468
accent
#CB43E4
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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