#283B75#283B75

#283B75 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 37.0% C 0.102 H 267.6°. Best body text is #FFFFFF at 10.65:1 contrast (WCAG AA passes).

Color values

HEX#283B75
RGBrgb(40, 59, 117)
HSLhsl(225, 49%, 31%)
HSVhsv(225, 66%, 46%)
CMYKcmyk(65.8%, 49.6%, 0%, 54.1%)
CIE-LABlab(26.34, 12.62, -35.67)
CIE-LCHlch(26.34, 37.84, 289.48°)
OKLaboklab(36.95% -0.0043 -0.102)
OKLCHoklch(36.95% 0.102 267.6)
XYZxyz(5.6488, 4.8629, 17.4671)
Luminance0.0486 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283B75 #756228
analogous
#286175 #283B75 #3B2875
triadic
#283B75 #75283B #3B7528
tetradic
#283B75 #752861 #756228 #28753B
square
#283B75 #752861 #756228 #28753B
split-complementary
#283B75 #753B28 #617528
monochromatic
#090D1A #182447 #283B75 #3852A3 #536FC4

Accessibility & contrast

On white

10.65
#283B75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283B75
10.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283B75#FFFFFF#000000##FFFFFF
##283B751.0010.651.9710.65
#FFFFFF10.651.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4277
Deuteranopia (green-blind)
#0F3B74
Tritanopia (blue-blind)
#004852
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283b75;
/* rgb */ color: rgb(40, 59, 117);
/* oklch */ color: oklch(37.0% 0.102 267.6);
Tailwind
colors: {
  custom: {
    50: '#6a709d',
    500: '#283b75',
    950: '#000000',
  },
}
SCSS
$custom: #283b75;
$custom-light: #6a709d;
$custom-dark: #000000;
JSON
{
  "hex": "#283b75",
  "rgb": {
    "r": 40,
    "g": 59,
    "b": 117
  },
  "hsl": {
    "h": 225.195,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.36954,
    "c": 0.10211,
    "h": 267.6
  },
  "luminance": 0.04863
}

Semantic roles & 50–950 ramp

primary
#283B75
secondary
#A79252
accent
#B74FD9
background
#F6F6F9
surface
#ECECF2
border
#C7C7CC
text
#07070E
muted
#7A7A7E

Preview Lab

Preview with #283B75

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

Preview Lab → · Contrast checker → · Palette generator →

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