#283F63#283F63

#283F63 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.7% C 0.069 H 259.1°. Best body text is #FFFFFF at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#283F63
RGBrgb(40, 63, 99)
HSLhsl(217, 42%, 27%)
HSVhsv(217, 60%, 39%)
CMYKcmyk(59.6%, 36.4%, 0%, 61.2%)
CIE-LABlab(26.47, 3.09, -23.96)
CIE-LCHlch(26.47, 24.16, 277.35°)
OKLaboklab(36.69% -0.0131 -0.0677)
OKLCHoklch(36.69% 0.069 259.1)
XYZxyz(4.9039, 4.9066, 12.4906)
Luminance0.0491 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F63 #634C28
analogous
#285D63 #283F63 #2F2863
triadic
#283F63 #63283F #3F6328
tetradic
#283F63 #63285D #634C28 #28632F
square
#283F63 #63285D #634C28 #28632F
split-complementary
#283F63 #632F28 #5D6328
monochromatic
#090E16 #162337 #283F63 #3A5B8F #4E77B7

Accessibility & contrast

On white

10.60
#283F63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#283F63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F63
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F63#FFFFFF#000000##FFFFFF
##283F631.0010.601.9810.60
#FFFFFF10.601.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#304265
Deuteranopia (green-blind)
#293C62
Tritanopia (blue-blind)
#02474C
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283f63;
/* rgb */ color: rgb(40, 63, 99);
/* oklch */ color: oklch(36.7% 0.069 259.1);
Tailwind
colors: {
  custom: {
    50: '#67738f',
    500: '#283f63',
    950: '#000000',
  },
}
SCSS
$custom: #283f63;
$custom-light: #67738f;
$custom-dark: #000000;
JSON
{
  "hex": "#283f63",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 99
  },
  "hsl": {
    "h": 216.61,
    "s": 42.446,
    "l": 27.255
  },
  "oklch": {
    "l": 0.36691,
    "c": 0.06891,
    "h": 259.1
  },
  "luminance": 0.04907
}

Semantic roles & 50–950 ramp

primary
#283F63
secondary
#967B51
accent
#A256D2
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #283F63

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

Preview Lab → · Contrast checker → · Palette generator →

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