#283295#283295

#283295 is a dark, vivid blue. Relative luminance 0.049; OKLCH L 37.8% C 0.160 H 271.7°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#283295
RGBrgb(40, 50, 149)
HSLhsl(234, 58%, 37%)
HSVhsv(234, 73%, 58%)
CMYKcmyk(73.2%, 66.4%, 0%, 41.6%)
CIE-LABlab(26.45, 30.89, -55.46)
CIE-LCHlch(26.45, 63.48, 299.12°)
OKLaboklab(37.84% 0.0047 -0.1603)
OKLCHoklch(37.84% 0.16 271.7)
XYZxyz(7.4387, 4.9015, 28.9820)
Luminance0.0490 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283295 #958B28
analogous
#286995 #283295 #542895
triadic
#283295 #952832 #329528
tetradic
#283295 #952869 #958B28 #289554
square
#283295 #952869 #958B28 #289554
split-complementary
#283295 #955428 #699528
monochromatic
#0E1235 #1B2265 #283295 #3542C5 #626DD5

Accessibility & contrast

On white

10.60
#283295 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#283295 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283295
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283295#FFFFFF#000000##FFFFFF
##2832951.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004498
Deuteranopia (green-blind)
#003A93
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283295;
/* rgb */ color: rgb(40, 50, 149);
/* oklch */ color: oklch(37.8% 0.160 271.7);
Tailwind
colors: {
  custom: {
    50: '#726ab5',
    500: '#283295',
    950: '#000000',
  },
}
SCSS
$custom: #283295;
$custom-light: #726ab5;
$custom-dark: #000000;
JSON
{
  "hex": "#283295",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 234.495,
    "s": 57.672,
    "l": 37.059
  },
  "oklch": {
    "l": 0.37843,
    "c": 0.16034,
    "h": 271.7
  },
  "luminance": 0.04902
}

Semantic roles & 50–950 ramp

primary
#283295
secondary
#BBB25E
accent
#D347E1
background
#F7F6FB
surface
#EDEBF6
border
#C8C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283295

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

Preview Lab → · Contrast checker → · Palette generator →

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