#283180#283180

#283180 is a dark, vivid blue. Relative luminance 0.042; OKLCH L 35.7% C 0.132 H 272.8°. Best body text is #FFFFFF at 11.41:1 contrast (WCAG AA passes).

Color values

HEX#283180
RGBrgb(40, 49, 128)
HSLhsl(234, 52%, 33%)
HSVhsv(234, 69%, 50%)
CMYKcmyk(68.8%, 61.7%, 0%, 49.8%)
CIE-LABlab(24.34, 23.74, -45.86)
CIE-LCHlch(24.34, 51.64, 297.37°)
OKLaboklab(35.71% 0.0064 -0.1321)
OKLCHoklch(35.71% 0.132 272.8)
XYZxyz(5.8684, 4.2057, 20.9204)
Luminance0.0421 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283180 #807728
analogous
#285D80 #283180 #4B2880
triadic
#283180 #802831 #318028
tetradic
#283180 #80285D #807728 #28804B
square
#283180 #80285D #807728 #28804B
split-complementary
#283180 #804B28 #5D8028
monochromatic
#0B0D23 #191F51 #283180 #3743AF #5863CB

Accessibility & contrast

On white

11.41
#283180 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#283180 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283180
11.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283180#FFFFFF#000000##FFFFFF
##2831801.0011.411.8411.41
#FFFFFF11.411.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E83
Deuteranopia (green-blind)
#00367E
Tritanopia (blue-blind)
#004553
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283180;
/* rgb */ color: rgb(40, 49, 128);
/* oklch */ color: oklch(35.7% 0.132 272.8);
Tailwind
colors: {
  custom: {
    50: '#6e69a6',
    500: '#283180',
    950: '#000000',
  },
}
SCSS
$custom: #283180;
$custom-light: #6e69a6;
$custom-dark: #000000;
JSON
{
  "hex": "#283180",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 128
  },
  "hsl": {
    "h": 233.864,
    "s": 52.381,
    "l": 32.941
  },
  "oklch": {
    "l": 0.35714,
    "c": 0.13227,
    "h": 272.8
  },
  "luminance": 0.04206
}

Semantic roles & 50–950 ramp

primary
#283180
secondary
#B0A654
accent
#CD4CDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #283180

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

Preview Lab → · Contrast checker → · Palette generator →

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