#283088#283088

#283088 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 36.2% C 0.145 H 272.8°. Best body text is #FFFFFF at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#283088
RGBrgb(40, 48, 136)
HSLhsl(235, 55%, 35%)
HSVhsv(235, 71%, 53%)
CMYKcmyk(70.6%, 64.7%, 0%, 46.7%)
CIE-LABlab(24.77, 27.41, -50.16)
CIE-LCHlch(24.77, 57.16, 298.65°)
OKLaboklab(36.25% 0.007 -0.1448)
OKLCHoklch(36.25% 0.145 272.8)
XYZxyz(6.3745, 4.3420, 23.7899)
Luminance0.0434 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283088 #888028
analogous
#286088 #283088 #502888
triadic
#283088 #882830 #308828
tetradic
#283088 #882860 #888028 #288850
square
#283088 #882860 #888028 #288850
split-complementary
#283088 #885028 #608828
monochromatic
#0C0F29 #1A1F59 #283088 #3641B7 #5B65CF

Accessibility & contrast

On white

11.24
#283088 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#283088 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283088
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283088#FFFFFF#000000##FFFFFF
##2830881.0011.241.8711.24
#FFFFFF11.241.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003F8B
Deuteranopia (green-blind)
#003686
Tritanopia (blue-blind)
#004757
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283088;
/* rgb */ color: rgb(40, 48, 136);
/* oklch */ color: oklch(36.2% 0.145 272.8);
Tailwind
colors: {
  custom: {
    50: '#7068ab',
    500: '#283088',
    950: '#000000',
  },
}
SCSS
$custom: #283088;
$custom-light: #7068ab;
$custom-dark: #000000;
JSON
{
  "hex": "#283088",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 235,
    "s": 54.545,
    "l": 34.51
  },
  "oklch": {
    "l": 0.36248,
    "c": 0.14494,
    "h": 272.8
  },
  "luminance": 0.04343
}

Semantic roles & 50–950 ramp

primary
#283088
secondary
#B4AC58
accent
#D24ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #283088

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

Preview Lab → · Contrast checker → · Palette generator →

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