#283F65#283F65

#283F65 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.8% C 0.072 H 260.0°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#283F65
RGBrgb(40, 63, 101)
HSLhsl(217, 43%, 28%)
HSVhsv(217, 60%, 40%)
CMYKcmyk(60.4%, 37.6%, 0%, 60.4%)
CIE-LABlab(26.58, 3.83, -25.07)
CIE-LCHlch(26.58, 25.36, 278.68°)
OKLaboklab(36.81% -0.0125 -0.0709)
OKLCHoklch(36.81% 0.072 260)
XYZxyz(5.0007, 4.9453, 13.0004)
Luminance0.0495 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F65 #654E28
analogous
#285D65 #283F65 #302865
triadic
#283F65 #65283F #3F6528
tetradic
#283F65 #65285D #654E28 #286530
square
#283F65 #65285D #654E28 #286530
split-complementary
#283F65 #653028 #5D6528
monochromatic
#090E16 #172439 #283F65 #395A91 #4E77B9

Accessibility & contrast

On white

10.56
#283F65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#283F65 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F65
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F65#FFFFFF#000000##FFFFFF
##283F651.0010.561.9910.56
#FFFFFF10.561.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F4267
Deuteranopia (green-blind)
#283C64
Tritanopia (blue-blind)
#00474D
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #283f65;
/* rgb */ color: rgb(40, 63, 101);
/* oklch */ color: oklch(36.8% 0.072 260.0);
Tailwind
colors: {
  custom: {
    50: '#677391',
    500: '#283f65',
    950: '#000000',
  },
}
SCSS
$custom: #283f65;
$custom-light: #677391;
$custom-dark: #000000;
JSON
{
  "hex": "#283f65",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 101
  },
  "hsl": {
    "h": 217.377,
    "s": 43.262,
    "l": 27.647
  },
  "oklch": {
    "l": 0.36814,
    "c": 0.072,
    "h": 260
  },
  "luminance": 0.04946
}

Semantic roles & 50–950 ramp

primary
#283F65
secondary
#987D51
accent
#A355D3
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #283F65

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

Preview Lab → · Contrast checker → · Palette generator →

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