#283F6E#283F6E

#283F6E is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.4% C 0.086 H 263.2°. Best body text is #FFFFFF at 10.36:1 contrast (WCAG AA passes).

Color values

HEX#283F6E
RGBrgb(40, 63, 110)
HSLhsl(220, 47%, 29%)
HSVhsv(220, 64%, 43%)
CMYKcmyk(63.6%, 42.7%, 0%, 56.9%)
CIE-LABlab(27.11, 7.20, -30.00)
CIE-LCHlch(27.11, 30.85, 283.49°)
OKLaboklab(37.4% -0.0102 -0.0853)
OKLCHoklch(37.4% 0.086 263.2)
XYZxyz(5.4661, 5.1314, 15.4512)
Luminance0.0513 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F6E #6E5728
analogous
#28626E #283F6E #34286E
triadic
#283F6E #6E283F #3F6E28
tetradic
#283F6E #6E2862 #6E5728 #286E34
square
#283F6E #6E2862 #6E5728 #286E34
split-complementary
#283F6E #6E3428 #626E28
monochromatic
#080D16 #182541 #283F6E #38599B #5175C0

Accessibility & contrast

On white

10.36
#283F6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.03
#283F6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283F6E
10.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F6E#FFFFFF#000000##FFFFFF
##283F6E1.0010.362.0310.36
#FFFFFF10.361.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A4470
Deuteranopia (green-blind)
#213D6D
Tritanopia (blue-blind)
#004A51
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #283f6e;
/* rgb */ color: rgb(40, 63, 110);
/* oklch */ color: oklch(37.4% 0.086 263.2);
Tailwind
colors: {
  custom: {
    50: '#697398',
    500: '#283f6e',
    950: '#000000',
  },
}
SCSS
$custom: #283f6e;
$custom-light: #697398;
$custom-dark: #000000;
JSON
{
  "hex": "#283f6e",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 110
  },
  "hsl": {
    "h": 220.286,
    "s": 46.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.37395,
    "c": 0.08591,
    "h": 263.2
  },
  "luminance": 0.05132
}

Semantic roles & 50–950 ramp

primary
#283F6E
secondary
#A08651
accent
#AB51D6
background
#F6F6F9
surface
#EBECF2
border
#C6C7CC
text
#07080D
muted
#7A7B7E

Preview Lab

Preview with #283F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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