#283097#283097

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

Color values

HEX#283097
RGBrgb(40, 48, 151)
HSLhsl(236, 58%, 37%)
HSVhsv(236, 74%, 59%)
CMYKcmyk(73.5%, 68.2%, 0%, 40.8%)
CIE-LABlab(26.15, 32.92, -57.18)
CIE-LCHlch(26.15, 65.98, 299.93°)
OKLaboklab(37.68% 0.0059 -0.1653)
OKLCHoklch(37.68% 0.165 272)
XYZxyz(7.5161, 4.7986, 29.8023)
Luminance0.0480 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283097 #978F28
analogous
#286797 #283097 #582897
triadic
#283097 #972830 #309728
tetradic
#283097 #972867 #978F28 #289758
square
#283097 #972867 #978F28 #289758
split-complementary
#283097 #975828 #679728
monochromatic
#0E1136 #1B2167 #283097 #353FC7 #646CD6

Accessibility & contrast

On white

10.72
#283097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#283097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283097
10.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283097#FFFFFF#000000##FFFFFF
##2830971.0010.721.9610.72
#FFFFFF10.721.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00439A
Deuteranopia (green-blind)
#003995
Tritanopia (blue-blind)
#004C5F
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283097;
/* rgb */ color: rgb(40, 48, 151);
/* oklch */ color: oklch(37.7% 0.165 272.0);
Tailwind
colors: {
  custom: {
    50: '#7368b7',
    500: '#283097',
    950: '#000000',
  },
}
SCSS
$custom: #283097;
$custom-light: #7368b7;
$custom-dark: #000000;
JSON
{
  "hex": "#283097",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 235.676,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.37682,
    "c": 0.16541,
    "h": 272
  },
  "luminance": 0.04799
}

Semantic roles & 50–950 ramp

primary
#283097
secondary
#BCB55F
accent
#D646E1
background
#F7F6FB
surface
#EEEBF6
border
#C9C6D0
text
#090611
muted
#7B7A80

Preview Lab

Preview with #283097

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

Preview Lab → · Contrast checker → · Palette generator →

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