#283182#283182

#283182 is a dark, vivid blue. Relative luminance 0.043; OKLCH L 35.9% C 0.135 H 272.7°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#283182
RGBrgb(40, 49, 130)
HSLhsl(234, 53%, 33%)
HSVhsv(234, 69%, 51%)
CMYKcmyk(69.2%, 62.3%, 0%, 49%)
CIE-LABlab(24.51, 24.49, -46.84)
CIE-LCHlch(24.51, 52.85, 297.60°)
OKLaboklab(35.89% 0.0064 -0.135)
OKLCHoklch(35.89% 0.135 272.7)
XYZxyz(6.0013, 4.2589, 21.6205)
Luminance0.0426 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#283182 #827928
analogous
#285E82 #283182 #4C2882
triadic
#283182 #822831 #318228
tetradic
#283182 #82285E #827928 #28824C
square
#283182 #82285E #827928 #28824C
split-complementary
#283182 #824C28 #5E8228
monochromatic
#0B0E24 #1A1F53 #283182 #3643B1 #5964CC

Accessibility & contrast

On white

11.34
#283182 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#283182 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #283182
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##283182#FFFFFF#000000##FFFFFF
##2831821.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E85
Deuteranopia (green-blind)
#003680
Tritanopia (blue-blind)
#004554
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #283182;
/* rgb */ color: rgb(40, 49, 130);
/* oklch */ color: oklch(35.9% 0.135 272.7);
Tailwind
colors: {
  custom: {
    50: '#6e69a7',
    500: '#283182',
    950: '#000000',
  },
}
SCSS
$custom: #283182;
$custom-light: #6e69a7;
$custom-dark: #000000;
JSON
{
  "hex": "#283182",
  "rgb": {
    "r": 40,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 234,
    "s": 52.941,
    "l": 33.333
  },
  "oklch": {
    "l": 0.35892,
    "c": 0.13514,
    "h": 272.7
  },
  "luminance": 0.04259
}

Semantic roles & 50–950 ramp

primary
#283182
secondary
#B1A855
accent
#CE4BDC
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#08060F
muted
#7B7A7F

Preview Lab

Preview with #283182

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

Preview Lab → · Contrast checker → · Palette generator →

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