#283F60#283F60

#283F60 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.5% C 0.064 H 257.4°. Best body text is #FFFFFF at 10.66:1 contrast (WCAG AA passes).

Color values

HEX#283F60
RGBrgb(40, 63, 96)
HSLhsl(215, 41%, 27%)
HSVhsv(215, 58%, 38%)
CMYKcmyk(58.3%, 34.4%, 0%, 62.4%)
CIE-LABlab(26.30, 2.00, -22.28)
CIE-LCHlch(26.30, 22.37, 275.12°)
OKLaboklab(36.51% -0.014 -0.0628)
OKLCHoklch(36.51% 0.064 257.4)
XYZxyz(4.7632, 4.8503, 11.7493)
Luminance0.0485 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F60 #604928
analogous
#285B60 #283F60 #2D2860
triadic
#283F60 #60283F #3F6028
tetradic
#283F60 #60285B #604928 #28602D
square
#283F60 #60285B #604928 #28602D
split-complementary
#283F60 #602D28 #5B6028
monochromatic
#090E16 #162335 #283F60 #3A5B8B #4D78B5

Accessibility & contrast

On white

10.66
#283F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F60
10.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F60#FFFFFF#000000##FFFFFF
##283F601.0010.661.9710.66
#FFFFFF10.661.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#324161
Deuteranopia (green-blind)
#2B3C5F
Tritanopia (blue-blind)
#06464B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283f60;
/* rgb */ color: rgb(40, 63, 96);
/* oklch */ color: oklch(36.5% 0.064 257.4);
Tailwind
colors: {
  custom: {
    50: '#67738d',
    500: '#283f60',
    950: '#000000',
  },
}
SCSS
$custom: #283f60;
$custom-light: #67738d;
$custom-dark: #000000;
JSON
{
  "hex": "#283f60",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 96
  },
  "hsl": {
    "h": 215.357,
    "s": 41.176,
    "l": 26.667
  },
  "oklch": {
    "l": 0.3651,
    "c": 0.06431,
    "h": 257.4
  },
  "luminance": 0.04851
}

Semantic roles & 50–950 ramp

primary
#283F60
secondary
#937851
accent
#9F57D1
background
#F6F7F8
surface
#EBEDF0
border
#C6C8CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #283F60

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

Preview Lab → · Contrast checker → · Palette generator →

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