#283085#283085

#283085 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.0% C 0.141 H 272.9°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#283085
RGBrgb(40, 48, 133)
HSLhsl(235, 54%, 34%)
HSVhsv(235, 70%, 52%)
CMYKcmyk(69.9%, 63.9%, 0%, 47.8%)
CIE-LABlab(24.51, 26.29, -48.72)
CIE-LCHlch(24.51, 55.36, 298.35°)
OKLaboklab(35.97% 0.0072 -0.1405)
OKLCHoklch(35.97% 0.141 272.9)
XYZxyz(6.1642, 4.2579, 22.6828)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283085 #857D28
analogous
#285F85 #283085 #4F2885
triadic
#283085 #852830 #308528
tetradic
#283085 #85285F #857D28 #28854F
square
#283085 #85285F #857D28 #28854F
split-complementary
#283085 #854F28 #5F8528
monochromatic
#0C0E27 #1A1F56 #283085 #3641B4 #5A64CD

Accessibility & contrast

On white

11.34
#283085 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#283085 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283085
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283085#FFFFFF#000000##FFFFFF
##2830851.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F88
Deuteranopia (green-blind)
#003683
Tritanopia (blue-blind)
#004655
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283085;
/* rgb */ color: rgb(40, 48, 133);
/* oklch */ color: oklch(36.0% 0.141 272.9);
Tailwind
colors: {
  custom: {
    50: '#6f68a9',
    500: '#283085',
    950: '#000000',
  },
}
SCSS
$custom: #283085;
$custom-light: #6f68a9;
$custom-dark: #000000;
JSON
{
  "hex": "#283085",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 133
  },
  "hsl": {
    "h": 234.839,
    "s": 53.757,
    "l": 33.922
  },
  "oklch": {
    "l": 0.35971,
    "c": 0.14072,
    "h": 272.9
  },
  "luminance": 0.04258
}

Semantic roles & 50–950 ramp

primary
#283085
secondary
#B3AB56
accent
#D14BDD
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283085

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

Preview Lab → · Contrast checker → · Palette generator →

#283085 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva