#283072#283072

#283072 is a dark, moderate blue. Relative luminance 0.038; OKLCH L 34.3% C 0.113 H 273.7°. Best body text is #FFFFFF at 11.96:1 contrast (WCAG AA passes).

Color values

HEX#283072
RGBrgb(40, 48, 114)
HSLhsl(234, 48%, 30%)
HSVhsv(234, 65%, 45%)
CMYKcmyk(64.9%, 57.9%, 0%, 55.3%)
CIE-LABlab(22.93, 19.15, -39.26)
CIE-LCHlch(22.93, 43.68, 296.01°)
OKLaboklab(34.31% 0.0072 -0.1127)
OKLCHoklch(34.31% 0.113 273.7)
XYZxyz(4.9683, 3.7795, 16.3840)
Luminance0.0378 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283072 #726A28
analogous
#285572 #283072 #452872
triadic
#283072 #722830 #307228
tetradic
#283072 #722855 #726A28 #287245
square
#283072 #722855 #726A28 #287245
split-complementary
#283072 #724528 #557228
monochromatic
#080A17 #181D45 #283072 #38439F #525EC2

Accessibility & contrast

On white

11.96
#283072 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#283072 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283072
11.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283072#FFFFFF#000000##FFFFFF
##2830721.0011.961.7611.96
#FFFFFF11.961.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A74
Deuteranopia (green-blind)
#003471
Tritanopia (blue-blind)
#00404C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283072;
/* rgb */ color: rgb(40, 48, 114);
/* oklch */ color: oklch(34.3% 0.113 273.7);
Tailwind
colors: {
  custom: {
    50: '#6b689b',
    500: '#283072',
    950: '#000000',
  },
}
SCSS
$custom: #283072;
$custom-light: #6b689b;
$custom-dark: #000000;
JSON
{
  "hex": "#283072",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 114
  },
  "hsl": {
    "h": 233.514,
    "s": 48.052,
    "l": 30.196
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.11295,
    "h": 273.7
  },
  "luminance": 0.0378
}

Semantic roles & 50–950 ramp

primary
#283072
secondary
#A49B52
accent
#C950D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283072

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

Preview Lab → · Contrast checker → · Palette generator →

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