#283074#283074

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

Color values

HEX#283074
RGBrgb(40, 48, 116)
HSLhsl(234, 49%, 31%)
HSVhsv(234, 66%, 45%)
CMYKcmyk(65.5%, 58.6%, 0%, 54.5%)
CIE-LABlab(23.09, 19.91, -40.28)
CIE-LCHlch(23.09, 44.93, 296.30°)
OKLaboklab(34.47% 0.0073 -0.1157)
OKLCHoklch(34.47% 0.116 273.6)
XYZxyz(5.0834, 3.8256, 16.9901)
Luminance0.0383 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283074 #746C28
analogous
#285674 #283074 #462874
triadic
#283074 #742830 #307428
tetradic
#283074 #742856 #746C28 #287446
square
#283074 #742856 #746C28 #287446
split-complementary
#283074 #744628 #567428
monochromatic
#090A19 #181D46 #283074 #3843A2 #535FC4

Accessibility & contrast

On white

11.90
#283074 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283074
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283074#FFFFFF#000000##FFFFFF
##2830741.0011.901.7711.90
#FFFFFF11.901.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A76
Deuteranopia (green-blind)
#003473
Tritanopia (blue-blind)
#00404D
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #283074;
/* rgb */ color: rgb(40, 48, 116);
/* oklch */ color: oklch(34.5% 0.116 273.6);
Tailwind
colors: {
  custom: {
    50: '#6b689d',
    500: '#283074',
    950: '#000000',
  },
}
SCSS
$custom: #283074;
$custom-light: #6b689d;
$custom-dark: #000000;
JSON
{
  "hex": "#283074",
  "rgb": {
    "r": 40,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 233.684,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.34473,
    "c": 0.11597,
    "h": 273.6
  },
  "luminance": 0.03826
}

Semantic roles & 50–950 ramp

primary
#283074
secondary
#A69D52
accent
#CA50D8
background
#F6F6F9
surface
#ECEBF2
border
#C7C6CC
text
#07060E
muted
#7A7A7E

Preview Lab

Preview with #283074

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

Preview Lab → · Contrast checker → · Palette generator →

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