#283095#283095

#283095 is a dark, vivid blue. Relative luminance 0.047; OKLCH L 37.5% C 0.163 H 272.1°. Best body text is #FFFFFF at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#283095
RGBrgb(40, 48, 149)
HSLhsl(236, 58%, 37%)
HSVhsv(236, 73%, 58%)
CMYKcmyk(73.2%, 67.8%, 0%, 41.6%)
CIE-LABlab(25.96, 32.19, -56.26)
CIE-LCHlch(25.96, 64.82, 299.78°)
OKLaboklab(37.49% 0.0061 -0.1626)
OKLCHoklch(37.49% 0.163 272.1)
XYZxyz(7.3550, 4.7342, 28.9541)
Luminance0.0474 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283095 #958D28
analogous
#286795 #283095 #562895
triadic
#283095 #952830 #309528
tetradic
#283095 #952867 #958D28 #289556
square
#283095 #952867 #958D28 #289556
split-complementary
#283095 #955628 #679528
monochromatic
#0E1135 #1B2065 #283095 #3540C5 #626BD5

Accessibility & contrast

On white

10.79
#283095 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.95
#283095 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283095
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283095#FFFFFF#000000##FFFFFF
##2830951.0010.791.9510.79
#FFFFFF10.791.0021.001.00
#0000001.9521.001.0021.00
##FFFFFF10.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004398
Deuteranopia (green-blind)
#003893
Tritanopia (blue-blind)
#004B5E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #283095;
/* rgb */ color: rgb(40, 48, 149);
/* oklch */ color: oklch(37.5% 0.163 272.1);
Tailwind
colors: {
  custom: {
    50: '#7368b5',
    500: '#283095',
    950: '#000000',
  },
}
SCSS
$custom: #283095;
$custom-light: #7368b5;
$custom-dark: #000000;
JSON
{
  "hex": "#283095",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 235.596,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37486,
    "c": 0.16274,
    "h": 272.1
  },
  "luminance": 0.04735
}

Semantic roles & 50–950 ramp

primary
#283095
secondary
#BBB45E
accent
#D647E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283095

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

Preview Lab → · Contrast checker → · Palette generator →

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