#283A85#283A85

#283A85 is a dark, vivid blue. Relative luminance 0.052; OKLCH L 38.0% C 0.127 H 269.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#283A85
RGBrgb(40, 58, 133)
HSLhsl(228, 54%, 34%)
HSVhsv(228, 70%, 52%)
CMYKcmyk(69.9%, 56.4%, 0%, 47.8%)
CIE-LABlab(27.21, 19.46, -44.32)
CIE-LCHlch(27.21, 48.40, 293.70°)
OKLaboklab(37.99% -0.0016 -0.1275)
OKLCHoklch(37.99% 0.127 269.3)
XYZxyz(6.6203, 5.1700, 22.8348)
Luminance0.0517 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A85 #857328
analogous
#286985 #283A85 #452885
triadic
#283A85 #85283A #3A8528
tetradic
#283A85 #852869 #857328 #288545
square
#283A85 #852869 #857328 #288545
split-complementary
#283A85 #854528 #698528
monochromatic
#0C1127 #1A2556 #283A85 #364FB4 #5A70CD

Accessibility & contrast

On white

10.32
#283A85 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#283A85 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A85
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A85#FFFFFF#000000##FFFFFF
##283A851.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004588
Deuteranopia (green-blind)
#003C83
Tritanopia (blue-blind)
#004C59
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283a85;
/* rgb */ color: rgb(40, 58, 133);
/* oklch */ color: oklch(38.0% 0.127 269.3);
Tailwind
colors: {
  custom: {
    50: '#6e6fa9',
    500: '#283a85',
    950: '#000000',
  },
}
SCSS
$custom: #283a85;
$custom-light: #6e6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#283a85",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 133
  },
  "hsl": {
    "h": 228.387,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.37986,
    "c": 0.12749,
    "h": 269.3
  },
  "luminance": 0.05171
}

Semantic roles & 50–950 ramp

primary
#283A85
secondary
#B3A156
accent
#C14BDD
background
#F7F6FA
surface
#EDECF4
border
#C8C7CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283A85

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

Preview Lab → · Contrast checker → · Palette generator →

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