#283F90#283F90

#283F90 is a dark, vivid blue. Relative luminance 0.060; OKLCH L 39.9% C 0.137 H 267.7°. Best body text is #FFFFFF at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#283F90
RGBrgb(40, 63, 144)
HSLhsl(227, 57%, 36%)
HSVhsv(227, 72%, 56%)
CMYKcmyk(72.2%, 56.3%, 0%, 43.5%)
CIE-LABlab(29.46, 20.26, -47.48)
CIE-LCHlch(29.46, 51.62, 293.10°)
OKLaboklab(39.94% -0.0054 -0.1367)
OKLCHoklch(39.94% 0.137 267.7)
XYZxyz(7.6849, 6.0190, 27.1369)
Luminance0.0602 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F90 #907928
analogous
#287390 #283F90 #452890
triadic
#283F90 #90283F #3F9028
tetradic
#283F90 #902873 #907928 #289045
square
#283F90 #902873 #907928 #289045
split-complementary
#283F90 #904528 #739028
monochromatic
#0D1530 #1B2A60 #283F90 #3554C0 #6079D3

Accessibility & contrast

On white

9.53
#283F90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#283F90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F90
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F90#FFFFFF#000000##FFFFFF
##283F901.009.532.209.53
#FFFFFF9.531.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004A93
Deuteranopia (green-blind)
#00418E
Tritanopia (blue-blind)
#005361
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #283f90;
/* rgb */ color: rgb(40, 63, 144);
/* oklch */ color: oklch(39.9% 0.137 267.7);
Tailwind
colors: {
  custom: {
    50: '#7073b1',
    500: '#283f90',
    950: '#000000',
  },
}
SCSS
$custom: #283f90;
$custom-light: #7073b1;
$custom-dark: #000000;
JSON
{
  "hex": "#283f90",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 144
  },
  "hsl": {
    "h": 226.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.39944,
    "c": 0.13682,
    "h": 267.7
  },
  "luminance": 0.0602
}

Semantic roles & 50–950 ramp

primary
#283F90
secondary
#B8A45C
accent
#BE48E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#080811
muted
#7B7B80

Preview Lab

Preview with #283F90

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

Preview Lab → · Contrast checker → · Palette generator →

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