#241283#241283

#241283 is a dark, vivid blue. Relative luminance 0.024; OKLCH L 31.0% C 0.171 H 276.8°. Best body text is #FFFFFF at 14.10:1 contrast (WCAG AA passes).

Color values

HEX#241283
RGBrgb(36, 18, 131)
HSLhsl(250, 76%, 29%)
HSVhsv(250, 86%, 51%)
CMYKcmyk(72.5%, 86.3%, 0%, 48.6%)
CIE-LABlab(17.67, 42.70, -58.72)
CIE-LCHlch(17.67, 72.61, 306.02°)
OKLaboklab(30.96% 0.0204 -0.1697)
OKLCHoklch(30.96% 0.171 276.8)
XYZxyz(5.0393, 2.4459, 21.6749)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241283 #718312
analogous
#123883 #241283 #5D1283
triadic
#241283 #832412 #128324
tetradic
#241283 #831238 #718312 #12835D
square
#241283 #831238 #718312 #12835D
split-complementary
#241283 #835D12 #388312
monochromatic
#07041B #150B4D #241283 #3319B9 #4A2DE2

Accessibility & contrast

On white

14.10
#241283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#241283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241283
14.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241283#FFFFFF#000000##FFFFFF
##2412831.0014.101.4914.10
#FFFFFF14.101.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003086
Deuteranopia (green-blind)
#002681
Tritanopia (blue-blind)
#00374D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #241283;
/* rgb */ color: rgb(36, 18, 131);
/* oklch */ color: oklch(31.0% 0.171 276.8);
Tailwind
colors: {
  custom: {
    50: '#6f55a8',
    500: '#241283',
    950: '#000000',
  },
}
SCSS
$custom: #241283;
$custom-light: #6f55a8;
$custom-dark: #000000;
JSON
{
  "hex": "#241283",
  "rgb": {
    "r": 36,
    "g": 18,
    "b": 131
  },
  "hsl": {
    "h": 249.558,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.30956,
    "c": 0.17089,
    "h": 276.8
  },
  "luminance": 0.02446
}

Semantic roles & 50–950 ramp

primary
#241283
secondary
#A4B838
accent
#F235D4
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#090310
muted
#7B787F

Preview Lab

Preview with #241283

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

Preview Lab → · Contrast checker → · Palette generator →

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