#283CAB#283CAB

#283CAB is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.7% C 0.178 H 269.0°. Best body text is #FFFFFF at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#283CAB
RGBrgb(40, 60, 171)
HSLhsl(231, 62%, 41%)
HSVhsv(231, 77%, 67%)
CMYKcmyk(76.6%, 64.9%, 0%, 32.9%)
CIE-LABlab(30.93, 32.48, -61.46)
CIE-LCHlch(30.93, 69.52, 297.86°)
OKLaboklab(41.74% -0.0031 -0.1778)
OKLCHoklch(41.74% 0.178 269)
XYZxyz(9.8391, 6.6220, 39.2798)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CAB #AB9728
analogous
#287EAB #283CAB #5628AB
triadic
#283CAB #AB283C #3CAB28
tetradic
#283CAB #AB287E #AB9728 #28AB56
square
#283CAB #AB287E #AB9728 #28AB56
split-complementary
#283CAB #AB5628 #7EAB28
monochromatic
#111948 #1C2B79 #283CAB #3E55D2 #7081DE

Accessibility & contrast

On white

9.03
#283CAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283CAB
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CAB#FFFFFF#000000##FFFFFF
##283CAB1.009.032.329.03
#FFFFFF9.031.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#0043A9
Tritanopia (blue-blind)
#00596E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283cab;
/* rgb */ color: rgb(40, 60, 171);
/* oklch */ color: oklch(41.7% 0.178 269.0);
Tailwind
colors: {
  custom: {
    50: '#7771c5',
    500: '#283cab',
    950: '#000000',
  },
}
SCSS
$custom: #283cab;
$custom-light: #7771c5;
$custom-dark: #000000;
JSON
{
  "hex": "#283cab",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 171
  },
  "hsl": {
    "h": 230.84,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.41739,
    "c": 0.1778,
    "h": 269
  },
  "luminance": 0.06623
}

Semantic roles & 50–950 ramp

primary
#283CAB
secondary
#C4B76A
accent
#CC43E5
background
#F7F6FC
surface
#EEECF8
border
#C9C7D1
text
#0A0713
muted
#7C7A82

Preview Lab

Preview with #283CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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