#283A90#283A90

#283A90 is a dark, vivid blue. Relative luminance 0.055; OKLCH L 38.9% C 0.143 H 269.5°. Best body text is #FFFFFF at 10.01:1 contrast (WCAG AA passes).

Color values

HEX#283A90
RGBrgb(40, 58, 144)
HSLhsl(230, 57%, 36%)
HSVhsv(230, 72%, 56%)
CMYKcmyk(72.2%, 59.7%, 0%, 43.5%)
CIE-LABlab(28.09, 23.66, -49.71)
CIE-LCHlch(28.09, 55.06, 295.46°)
OKLaboklab(38.92% -0.0012 -0.1433)
OKLCHoklch(38.92% 0.143 269.5)
XYZxyz(7.4204, 5.4901, 27.0488)
Luminance0.0549 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A90 #907E28
analogous
#286E90 #283A90 #4A2890
triadic
#283A90 #90283A #3A9028
tetradic
#283A90 #90286E #907E28 #28904A
square
#283A90 #90286E #907E28 #28904A
split-complementary
#283A90 #904A28 #6E9028
monochromatic
#0D1330 #1B2760 #283A90 #354DC0 #6074D3

Accessibility & contrast

On white

10.01
#283A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#283A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A90
10.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A90#FFFFFF#000000##FFFFFF
##283A901.0010.012.1010.01
#FFFFFF10.011.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004793
Deuteranopia (green-blind)
#003E8E
Tritanopia (blue-blind)
#004F5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #283a90;
/* rgb */ color: rgb(40, 58, 144);
/* oklch */ color: oklch(38.9% 0.143 269.5);
Tailwind
colors: {
  custom: {
    50: '#716fb1',
    500: '#283a90',
    950: '#000000',
  },
}
SCSS
$custom: #283a90;
$custom-light: #716fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#283a90",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 144
  },
  "hsl": {
    "h": 229.615,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.38915,
    "c": 0.14334,
    "h": 269.5
  },
  "luminance": 0.05491
}

Semantic roles & 50–950 ramp

primary
#283A90
secondary
#B8A85C
accent
#C648E0
background
#F7F6FB
surface
#EDECF6
border
#C8C7D0
text
#090711
muted
#7B7A80

Preview Lab

Preview with #283A90

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

Preview Lab → · Contrast checker → · Palette generator →

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