#283889#283889

#283889 is a dark, vivid blue. Relative luminance 0.051; OKLCH L 37.9% C 0.136 H 270.1°. Best body text is #FFFFFF at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#283889
RGBrgb(40, 56, 137)
HSLhsl(230, 55%, 35%)
HSVhsv(230, 71%, 54%)
CMYKcmyk(70.8%, 59.1%, 0%, 46.3%)
CIE-LABlab(26.98, 22.36, -47.19)
CIE-LCHlch(26.98, 52.22, 295.35°)
OKLaboklab(37.91% 0.0004 -0.136)
OKLCHoklch(37.91% 0.136 270.1)
XYZxyz(6.8031, 5.0849, 24.2850)
Luminance0.0509 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283889 #897928
analogous
#286989 #283889 #492889
triadic
#283889 #892838 #388928
tetradic
#283889 #892869 #897928 #288949
square
#283889 #892869 #897928 #288949
split-complementary
#283889 #894928 #698928
monochromatic
#0C112A #1A255A #283889 #364BB8 #5C6FCF

Accessibility & contrast

On white

10.41
#283889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#283889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283889
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283889#FFFFFF#000000##FFFFFF
##2838891.0010.412.0210.41
#FFFFFF10.411.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00448C
Deuteranopia (green-blind)
#003B87
Tritanopia (blue-blind)
#004C5B
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283889;
/* rgb */ color: rgb(40, 56, 137);
/* oklch */ color: oklch(37.9% 0.136 270.1);
Tailwind
colors: {
  custom: {
    50: '#6f6eac',
    500: '#283889',
    950: '#000000',
  },
}
SCSS
$custom: #283889;
$custom-light: #6f6eac;
$custom-dark: #000000;
JSON
{
  "hex": "#283889",
  "rgb": {
    "r": 40,
    "g": 56,
    "b": 137
  },
  "hsl": {
    "h": 230.103,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.37907,
    "c": 0.13596,
    "h": 270.1
  },
  "luminance": 0.05086
}

Semantic roles & 50–950 ramp

primary
#283889
secondary
#B5A558
accent
#C64ADE
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080710
muted
#7B7A7F

Preview Lab

Preview with #283889

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

Preview Lab → · Contrast checker → · Palette generator →

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