#283298#283298

#283298 is a dark, vivid blue. Relative luminance 0.050; OKLCH L 38.1% C 0.164 H 271.6°. Best body text is #FFFFFF at 10.50:1 contrast (WCAG AA passes).

Color values

HEX#283298
RGBrgb(40, 50, 152)
HSLhsl(235, 58%, 38%)
HSVhsv(235, 74%, 60%)
CMYKcmyk(73.7%, 67.1%, 0%, 40.4%)
CIE-LABlab(26.73, 31.99, -56.84)
CIE-LCHlch(26.73, 65.23, 299.37°)
OKLaboklab(38.13% 0.0045 -0.1643)
OKLCHoklch(38.13% 0.164 271.6)
XYZxyz(7.6813, 4.9985, 30.2597)
Luminance0.0500 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283298 #988E28
analogous
#286A98 #283298 #562898
triadic
#283298 #982832 #329828
tetradic
#283298 #98286A #988E28 #289856
square
#283298 #98286A #988E28 #289856
split-complementary
#283298 #985628 #6A9828
monochromatic
#0F1237 #1B2268 #283298 #3542C8 #646ED6

Accessibility & contrast

On white

10.50
#283298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.00
#283298 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283298
10.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283298#FFFFFF#000000##FFFFFF
##2832981.0010.502.0010.50
#FFFFFF10.501.0021.001.00
#0000002.0021.001.0021.00
##FFFFFF10.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#003A96
Tritanopia (blue-blind)
#004D60
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283298;
/* rgb */ color: rgb(40, 50, 152);
/* oklch */ color: oklch(38.1% 0.164 271.6);
Tailwind
colors: {
  custom: {
    50: '#736ab7',
    500: '#283298',
    950: '#000000',
  },
}
SCSS
$custom: #283298;
$custom-light: #736ab7;
$custom-dark: #000000;
JSON
{
  "hex": "#283298",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 152
  },
  "hsl": {
    "h": 234.643,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.38131,
    "c": 0.16438,
    "h": 271.6
  },
  "luminance": 0.04999
}

Semantic roles & 50–950 ramp

primary
#283298
secondary
#BCB460
accent
#D446E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283298

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

Preview Lab → · Contrast checker → · Palette generator →

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