#283262#283262

#283262 is a dark, moderate blue. Relative luminance 0.036; OKLCH L 33.5% C 0.085 H 272.2°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#283262
RGBrgb(40, 50, 98)
HSLhsl(230, 42%, 27%)
HSVhsv(230, 59%, 38%)
CMYKcmyk(59.2%, 49%, 0%, 61.6%)
CIE-LABlab(22.35, 11.74, -29.84)
CIE-LCHlch(22.35, 32.07, 291.47°)
OKLaboklab(33.5% 0.0033 -0.085)
OKLCHoklch(33.5% 0.085 272.2)
XYZxyz(4.2196, 3.6139, 12.0281)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283262 #625828
analogous
#284F62 #283262 #3B2862
triadic
#283262 #622832 #326228
tetradic
#283262 #62284F #625828 #28623B
square
#283262 #62284F #625828 #28623B
split-complementary
#283262 #623B28 #4F6228
monochromatic
#090B16 #161C37 #283262 #3A488D #4E60B7

Accessibility & contrast

On white

12.19
#283262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#283262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283262
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283262#FFFFFF#000000##FFFFFF
##2832621.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C3864
Deuteranopia (green-blind)
#153361
Tritanopia (blue-blind)
#083D45
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #283262;
/* rgb */ color: rgb(40, 50, 98);
/* oklch */ color: oklch(33.5% 0.085 272.2);
Tailwind
colors: {
  custom: {
    50: '#67698f',
    500: '#283262',
    950: '#000000',
  },
}
SCSS
$custom: #283262;
$custom-light: #67698f;
$custom-dark: #000000;
JSON
{
  "hex": "#283262",
  "rgb": {
    "r": 40,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 229.655,
    "s": 42.029,
    "l": 27.059
  },
  "oklch": {
    "l": 0.33498,
    "c": 0.08506,
    "h": 272.2
  },
  "luminance": 0.03614
}

Semantic roles & 50–950 ramp

primary
#283262
secondary
#958951
accent
#BC56D2
background
#F6F6F8
surface
#EBEBF0
border
#C6C6CB
text
#06060C
muted
#7A7A7D

Preview Lab

Preview with #283262

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

Preview Lab → · Contrast checker → · Palette generator →

#283262 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva