#283B74#283B74

#283B74 is a dark, moderate blue. Relative luminance 0.048; OKLCH L 36.9% C 0.101 H 267.5°. Best body text is #FFFFFF at 10.67:1 contrast (WCAG AA passes).

Color values

HEX#283B74
RGBrgb(40, 59, 116)
HSLhsl(225, 49%, 31%)
HSVhsv(225, 66%, 45%)
CMYKcmyk(65.5%, 49.1%, 0%, 54.5%)
CIE-LABlab(26.27, 12.24, -35.15)
CIE-LCHlch(26.27, 37.22, 289.20°)
OKLaboklab(36.88% -0.0045 -0.1005)
OKLCHoklch(36.88% 0.101 267.5)
XYZxyz(5.5903, 4.8395, 17.1591)
Luminance0.0484 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B74 #746128
analogous
#286174 #283B74 #3B2874
triadic
#283B74 #74283B #3B7428
tetradic
#283B74 #742861 #746128 #28743B
square
#283B74 #742861 #746128 #28743B
split-complementary
#283B74 #743B28 #617428
monochromatic
#090D19 #182446 #283B74 #3852A2 #536FC4

Accessibility & contrast

On white

10.67
#283B74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.97
#283B74 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283B74
10.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B74#FFFFFF#000000##FFFFFF
##283B741.0010.671.9710.67
#FFFFFF10.671.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4276
Deuteranopia (green-blind)
#113B73
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283b74;
/* rgb */ color: rgb(40, 59, 116);
/* oklch */ color: oklch(36.9% 0.101 267.5);
Tailwind
colors: {
  custom: {
    50: '#6a709c',
    500: '#283b74',
    950: '#000000',
  },
}
SCSS
$custom: #283b74;
$custom-light: #6a709c;
$custom-dark: #000000;
JSON
{
  "hex": "#283b74",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 116
  },
  "hsl": {
    "h": 225,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.3688,
    "c": 0.10057,
    "h": 267.5
  },
  "luminance": 0.0484
}

Semantic roles & 50–950 ramp

primary
#283B74
secondary
#A69152
accent
#B650D8
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283B74

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

Preview Lab → · Contrast checker → · Palette generator →

#283B74 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva