#283CA3#283CA3

#283CA3 is a dark, vivid blue. Relative luminance 0.063; OKLCH L 41.0% C 0.167 H 269.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#283CA3
RGBrgb(40, 60, 163)
HSLhsl(230, 61%, 40%)
HSVhsv(230, 75%, 64%)
CMYKcmyk(75.5%, 63.2%, 0%, 36.1%)
CIE-LABlab(30.22, 29.51, -57.81)
CIE-LCHlch(30.22, 64.91, 297.04°)
OKLaboklab(41% -0.0028 -0.1671)
OKLCHoklch(41% 0.167 269.1)
XYZxyz(9.0995, 6.3262, 35.3847)
Luminance0.0633 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283CA3 #A38F28
analogous
#2879A3 #283CA3 #5228A3
triadic
#283CA3 #A3283C #3CA328
tetradic
#283CA3 #A32879 #A38F28 #28A352
square
#283CA3 #A32879 #A38F28 #28A352
split-complementary
#283CA3 #A35228 #79A328
monochromatic
#101841 #1C2A72 #283CA3 #3A52CF #6B7DDB

Accessibility & contrast

On white

9.27
#283CA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#283CA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283CA3
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283CA3#FFFFFF#000000##FFFFFF
##283CA31.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#0042A1
Tritanopia (blue-blind)
#005769
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #283ca3;
/* rgb */ color: rgb(40, 60, 163);
/* oklch */ color: oklch(41.0% 0.167 269.1);
Tailwind
colors: {
  custom: {
    50: '#7571bf',
    500: '#283ca3',
    950: '#000000',
  },
}
SCSS
$custom: #283ca3;
$custom-light: #7571bf;
$custom-dark: #000000;
JSON
{
  "hex": "#283ca3",
  "rgb": {
    "r": 40,
    "g": 60,
    "b": 163
  },
  "hsl": {
    "h": 230.244,
    "s": 60.591,
    "l": 39.804
  },
  "oklch": {
    "l": 0.40998,
    "c": 0.1671,
    "h": 269.1
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#283CA3
secondary
#C1B266
accent
#CA44E4
background
#F7F6FB
surface
#EEECF7
border
#C9C7D0
text
#0A0712
muted
#7C7A81

Preview Lab

Preview with #283CA3

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

Preview Lab → · Contrast checker → · Palette generator →

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