#283075#283075

#283075 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.6% C 0.117 H 273.6°. Best body text is #FFFFFF at 11.87:1 contrast (WCAG AA passes).

Color values

HEX#283075
RGBrgb(40, 48, 117)
HSLhsl(234, 49%, 31%)
HSVhsv(234, 66%, 46%)
CMYKcmyk(65.8%, 59%, 0%, 54.1%)
CIE-LABlab(23.17, 20.29, -40.79)
CIE-LCHlch(23.17, 45.56, 296.44°)
OKLaboklab(34.56% 0.0073 -0.1172)
OKLCHoklch(34.56% 0.117 273.6)
XYZxyz(5.1418, 3.8489, 17.2981)
Luminance0.0385 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283075 #756D28
analogous
#285675 #283075 #462875
triadic
#283075 #752830 #307528
tetradic
#283075 #752856 #756D28 #287546
square
#283075 #752856 #756D28 #287546
split-complementary
#283075 #754628 #567528
monochromatic
#090B1A #181D47 #283075 #3843A3 #535FC4

Accessibility & contrast

On white

11.87
#283075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#283075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283075
11.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283075#FFFFFF#000000##FFFFFF
##2830751.0011.871.7711.87
#FFFFFF11.871.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B77
Deuteranopia (green-blind)
#003474
Tritanopia (blue-blind)
#00414D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283075;
/* rgb */ color: rgb(40, 48, 117);
/* oklch */ color: oklch(34.6% 0.117 273.6);
Tailwind
colors: {
  custom: {
    50: '#6b689d',
    500: '#283075',
    950: '#000000',
  },
}
SCSS
$custom: #283075;
$custom-light: #6b689d;
$custom-dark: #000000;
JSON
{
  "hex": "#283075",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 117
  },
  "hsl": {
    "h": 233.766,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.34557,
    "c": 0.11747,
    "h": 273.6
  },
  "luminance": 0.03849
}

Semantic roles & 50–950 ramp

primary
#283075
secondary
#A79E52
accent
#CA4FD9
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283075

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

Preview Lab → · Contrast checker → · Palette generator →

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