#283FA2#283FA2

#283FA2 is a dark, vivid blue. Relative luminance 0.066; OKLCH L 41.5% C 0.162 H 268.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#283FA2
RGBrgb(40, 63, 162)
HSLhsl(229, 60%, 40%)
HSVhsv(229, 75%, 64%)
CMYKcmyk(75.3%, 61.1%, 0%, 36.5%)
CIE-LABlab(30.91, 27.14, -56.08)
CIE-LCHlch(30.91, 62.30, 295.82°)
OKLaboklab(41.48% -0.0048 -0.162)
OKLCHoklch(41.48% 0.162 268.3)
XYZxyz(9.1719, 6.6138, 34.9686)
Luminance0.0662 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283FA2 #A28B28
analogous
#287CA2 #283FA2 #4E28A2
triadic
#283FA2 #A2283F #3FA228
tetradic
#283FA2 #A2287C #A28B28 #28A24E
square
#283FA2 #A2287C #A28B28 #28A24E
split-complementary
#283FA2 #A24E28 #7CA228
monochromatic
#101940 #1C2C71 #283FA2 #3955CE #6A7FDA

Accessibility & contrast

On white

9.04
#283FA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283FA2
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283FA2#FFFFFF#000000##FFFFFF
##283FA21.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#0043A0
Tritanopia (blue-blind)
#00586A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #283fa2;
/* rgb */ color: rgb(40, 63, 162);
/* oklch */ color: oklch(41.5% 0.162 268.3);
Tailwind
colors: {
  custom: {
    50: '#7473be',
    500: '#283fa2',
    950: '#000000',
  },
}
SCSS
$custom: #283fa2;
$custom-light: #7473be;
$custom-dark: #000000;
JSON
{
  "hex": "#283fa2",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 162
  },
  "hsl": {
    "h": 228.689,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.41483,
    "c": 0.16204,
    "h": 268.3
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#283FA2
secondary
#C1AF65
accent
#C644E4
background
#F7F7FB
surface
#EEEDF7
border
#C9C8D0
text
#0A0812
muted
#7C7B81

Preview Lab

Preview with #283FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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