#284B7B#284B7B

#284B7B is a dark, moderate cyan. Relative luminance 0.069; OKLCH L 41.1% C 0.091 H 256.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#284B7B
RGBrgb(40, 75, 123)
HSLhsl(215, 51%, 32%)
HSVhsv(215, 67%, 48%)
CMYKcmyk(67.5%, 39%, 0%, 51.8%)
CIE-LABlab(31.61, 4.03, -31.04)
CIE-LCHlch(31.61, 31.30, 277.40°)
OKLaboklab(41.14% -0.0207 -0.0882)
OKLCHoklch(41.14% 0.091 256.8)
XYZxyz(6.9650, 6.9127, 19.7023)
Luminance0.0691 (WCAG relative)
Temperaturecool
Familycyan

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#284B7B #7B5828
analogous
#28757B #284B7B #2F287B
triadic
#284B7B #7B284B #4B7B28
tetradic
#284B7B #7B2875 #7B5828 #287B2F
square
#284B7B #7B2875 #7B5828 #287B2F
split-complementary
#284B7B #7B2F28 #757B28
monochromatic
#0A131F #192F4D #284B7B #3767A9 #5686C8

Accessibility & contrast

On white

8.81
#284B7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#284B7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #284B7B
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##284B7B#FFFFFF#000000##FFFFFF
##284B7B1.008.812.388.81
#FFFFFF8.811.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#2A477A
Tritanopia (blue-blind)
#00565D
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #284b7b;
/* rgb */ color: rgb(40, 75, 123);
/* oklch */ color: oklch(41.1% 0.091 256.8);
Tailwind
colors: {
  custom: {
    50: '#6b7ca1',
    500: '#284b7b',
    950: '#000000',
  },
}
SCSS
$custom: #284b7b;
$custom-light: #6b7ca1;
$custom-dark: #000000;
JSON
{
  "hex": "#284b7b",
  "rgb": {
    "r": 40,
    "g": 75,
    "b": 123
  },
  "hsl": {
    "h": 214.699,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41137,
    "c": 0.09061,
    "h": 256.8
  },
  "luminance": 0.06913
}

Semantic roles & 50–950 ramp

primary
#284B7B
secondary
#AD8752
accent
#9F4DDA
background
#F6F7F9
surface
#ECEEF2
border
#C7C9CC
text
#07090F
muted
#7A7B7E

Preview Lab

Preview with #284B7B

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

Preview Lab → · Contrast checker → · Palette generator →

#284B7B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva