#283098#283098

#283098 is a dark, vivid blue. Relative luminance 0.048; OKLCH L 37.8% C 0.167 H 272.0°. Best body text is #FFFFFF at 10.68:1 contrast (WCAG AA passes).

Color values

HEX#283098
RGBrgb(40, 48, 152)
HSLhsl(236, 58%, 38%)
HSVhsv(236, 74%, 60%)
CMYKcmyk(73.7%, 68.4%, 0%, 40.4%)
CIE-LABlab(26.25, 33.28, -57.63)
CIE-LCHlch(26.25, 66.55, 300.00°)
OKLaboklab(37.78% 0.0058 -0.1666)
OKLCHoklch(37.78% 0.167 272)
XYZxyz(7.5976, 4.8312, 30.2318)
Luminance0.0483 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283098 #989028
analogous
#286898 #283098 #582898
triadic
#283098 #982830 #309828
tetradic
#283098 #982868 #989028 #289858
square
#283098 #982868 #989028 #289858
split-complementary
#283098 #985828 #689828
monochromatic
#0F1137 #1B2168 #283098 #353FC8 #646CD6

Accessibility & contrast

On white

10.68
#283098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283098
10.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283098#FFFFFF#000000##FFFFFF
##2830981.0010.681.9710.68
#FFFFFF10.681.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439B
Deuteranopia (green-blind)
#003996
Tritanopia (blue-blind)
#004C60
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283098;
/* rgb */ color: rgb(40, 48, 152);
/* oklch */ color: oklch(37.8% 0.167 272.0);
Tailwind
colors: {
  custom: {
    50: '#7368b7',
    500: '#283098',
    950: '#000000',
  },
}
SCSS
$custom: #283098;
$custom-light: #7368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#283098",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 152
  },
  "hsl": {
    "h": 235.714,
    "s": 58.333,
    "l": 37.647
  },
  "oklch": {
    "l": 0.3778,
    "c": 0.16674,
    "h": 272
  },
  "luminance": 0.04832
}

Semantic roles & 50–950 ramp

primary
#283098
secondary
#BCB560
accent
#D646E2
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283098

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

Preview Lab → · Contrast checker → · Palette generator →

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