#283A63#283A63

#283A63 is a dark, moderate blue. Relative luminance 0.044; OKLCH L 35.5% C 0.075 H 264.9°. Best body text is #FFFFFF at 11.20:1 contrast (WCAG AA passes).

Color values

HEX#283A63
RGBrgb(40, 58, 99)
HSLhsl(222, 42%, 27%)
HSVhsv(222, 60%, 39%)
CMYKcmyk(59.6%, 41.4%, 0%, 61.2%)
CIE-LABlab(24.88, 6.51, -26.46)
CIE-LCHlch(24.88, 27.25, 283.83°)
OKLaboklab(35.46% -0.0067 -0.075)
OKLCHoklch(35.46% 0.075 264.9)
XYZxyz(4.6395, 4.3777, 12.4025)
Luminance0.0438 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283A63 #635128
analogous
#285863 #283A63 #342863
triadic
#283A63 #63283A #3A6328
tetradic
#283A63 #632858 #635128 #286334
square
#283A63 #632858 #635128 #286334
split-complementary
#283A63 #633428 #586328
monochromatic
#090D16 #162037 #283A63 #3A548F #4E6EB7

Accessibility & contrast

On white

11.20
#283A63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#283A63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283A63
11.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283A63#FFFFFF#000000##FFFFFF
##283A631.0011.201.8811.20
#FFFFFF11.201.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293E65
Deuteranopia (green-blind)
#223962
Tritanopia (blue-blind)
#044349
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #283a63;
/* rgb */ color: rgb(40, 58, 99);
/* oklch */ color: oklch(35.5% 0.075 264.9);
Tailwind
colors: {
  custom: {
    50: '#676f8f',
    500: '#283a63',
    950: '#000000',
  },
}
SCSS
$custom: #283a63;
$custom-light: #676f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#283a63",
  "rgb": {
    "r": 40,
    "g": 58,
    "b": 99
  },
  "hsl": {
    "h": 221.695,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.35461,
    "c": 0.07531,
    "h": 264.9
  },
  "luminance": 0.04378
}

Semantic roles & 50–950 ramp

primary
#283A63
secondary
#968151
accent
#AC56D2
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06070C
muted
#7A7A7D

Preview Lab

Preview with #283A63

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

Preview Lab → · Contrast checker → · Palette generator →

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