#283370#283370

#283370 is a dark, moderate blue. Relative luminance 0.040; OKLCH L 34.8% C 0.106 H 272.1°. Best body text is #FFFFFF at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#283370
RGBrgb(40, 51, 112)
HSLhsl(231, 47%, 30%)
HSVhsv(231, 64%, 44%)
CMYKcmyk(64.3%, 54.5%, 0%, 56.1%)
CIE-LABlab(23.63, 16.30, -36.84)
CIE-LCHlch(23.63, 40.29, 293.87°)
OKLaboklab(34.78% 0.0039 -0.1056)
OKLCHoklch(34.78% 0.106 272.1)
XYZxyz(4.9826, 3.9882, 15.8333)
Luminance0.0399 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283370 #706528
analogous
#285770 #283370 #412870
triadic
#283370 #702833 #337028
tetradic
#283370 #702857 #706528 #287041
square
#283370 #702857 #706528 #287041
split-complementary
#283370 #704128 #577028
monochromatic
#080A17 #181E43 #283370 #38489D #5162C1

Accessibility & contrast

On white

11.68
#283370 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#283370 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283370
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283370#FFFFFF#000000##FFFFFF
##2833701.0011.681.8011.68
#FFFFFF11.681.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3C72
Deuteranopia (green-blind)
#00356F
Tritanopia (blue-blind)
#00414C
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #283370;
/* rgb */ color: rgb(40, 51, 112);
/* oklch */ color: oklch(34.8% 0.106 272.1);
Tailwind
colors: {
  custom: {
    50: '#6a6a99',
    500: '#283370',
    950: '#000000',
  },
}
SCSS
$custom: #283370;
$custom-light: #6a6a99;
$custom-dark: #000000;
JSON
{
  "hex": "#283370",
  "rgb": {
    "r": 40,
    "g": 51,
    "b": 112
  },
  "hsl": {
    "h": 230.833,
    "s": 47.368,
    "l": 29.804
  },
  "oklch": {
    "l": 0.34785,
    "c": 0.10564,
    "h": 272.1
  },
  "luminance": 0.03989
}

Semantic roles & 50–950 ramp

primary
#283370
secondary
#A29651
accent
#C251D7
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283370

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

Preview Lab → · Contrast checker → · Palette generator →

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