#283F61#283F61

#283F61 is a dark, moderate blue. Relative luminance 0.049; OKLCH L 36.6% C 0.066 H 258.0°. Best body text is #FFFFFF at 10.64:1 contrast (WCAG AA passes).

Color values

HEX#283F61
RGBrgb(40, 63, 97)
HSLhsl(216, 42%, 27%)
HSVhsv(216, 59%, 38%)
CMYKcmyk(58.8%, 35.1%, 0%, 62%)
CIE-LABlab(26.36, 2.36, -22.84)
CIE-LCHlch(26.36, 22.96, 275.90°)
OKLaboklab(36.57% -0.0137 -0.0644)
OKLCHoklch(36.57% 0.066 258)
XYZxyz(4.8095, 4.8688, 11.9933)
Luminance0.0487 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283F61 #614A28
analogous
#285C61 #283F61 #2D2861
triadic
#283F61 #61283F #3F6128
tetradic
#283F61 #61285C #614A28 #28612D
square
#283F61 #61285C #614A28 #28612D
split-complementary
#283F61 #612D28 #5C6128
monochromatic
#090E16 #162336 #283F61 #3A5B8C #4E78B6

Accessibility & contrast

On white

10.64
#283F61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #283F61
10.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283F61#FFFFFF#000000##FFFFFF
##283F611.0010.641.9710.64
#FFFFFF10.641.0021.001.00
#0000001.9721.001.0021.00
##FFFFFF10.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#314162
Deuteranopia (green-blind)
#2A3C60
Tritanopia (blue-blind)
#05474B
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #283f61;
/* rgb */ color: rgb(40, 63, 97);
/* oklch */ color: oklch(36.6% 0.066 258.0);
Tailwind
colors: {
  custom: {
    50: '#67738e',
    500: '#283f61',
    950: '#000000',
  },
}
SCSS
$custom: #283f61;
$custom-light: #67738e;
$custom-dark: #000000;
JSON
{
  "hex": "#283f61",
  "rgb": {
    "r": 40,
    "g": 63,
    "b": 97
  },
  "hsl": {
    "h": 215.789,
    "s": 41.606,
    "l": 26.863
  },
  "oklch": {
    "l": 0.3657,
    "c": 0.06584,
    "h": 258
  },
  "luminance": 0.04869
}

Semantic roles & 50–950 ramp

primary
#283F61
secondary
#947951
accent
#A056D1
background
#F6F6F8
surface
#EBECF0
border
#C6C7CB
text
#06080C
muted
#7A7B7D

Preview Lab

Preview with #283F61

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

Preview Lab → · Contrast checker → · Palette generator →

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