#242B82#242B82

#242B82 is a dark, vivid blue. Relative luminance 0.037; OKLCH L 34.5% C 0.144 H 272.6°. Best body text is #FFFFFF at 12.05:1 contrast (WCAG AA passes).

Color values

HEX#242B82
RGBrgb(36, 43, 130)
HSLhsl(236, 57%, 33%)
HSVhsv(236, 72%, 51%)
CMYKcmyk(72.3%, 66.9%, 0%, 49%)
CIE-LABlab(22.70, 27.96, -49.80)
CIE-LCHlch(22.70, 57.11, 299.31°)
OKLaboklab(34.5% 0.0066 -0.1438)
OKLCHoklch(34.5% 0.144 272.6)
XYZxyz(5.6193, 3.7140, 21.5355)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B82 #827B24
analogous
#245A82 #242B82 #4C2482
triadic
#242B82 #82242B #2B8224
tetradic
#242B82 #82245A #827B24 #24824C
square
#242B82 #82245A #827B24 #24824C
split-complementary
#242B82 #824C24 #5A8224
monochromatic
#090B22 #171B52 #242B82 #313BB2 #515BCF

Accessibility & contrast

On white

12.05
#242B82 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#242B82 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B82
12.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B82#FFFFFF#000000##FFFFFF
##242B821.0012.051.7412.05
#FFFFFF12.051.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B85
Deuteranopia (green-blind)
#003280
Tritanopia (blue-blind)
#004252
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242b82;
/* rgb */ color: rgb(36, 43, 130);
/* oklch */ color: oklch(34.5% 0.144 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d64a7',
    500: '#242b82',
    950: '#000000',
  },
}
SCSS
$custom: #242b82;
$custom-light: #6d64a7;
$custom-dark: #000000;
JSON
{
  "hex": "#242b82",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 130
  },
  "hsl": {
    "h": 235.532,
    "s": 56.627,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34496,
    "c": 0.14399,
    "h": 272.6
  },
  "luminance": 0.03715
}

Semantic roles & 50–950 ramp

primary
#242B82
secondary
#B3AB4F
accent
#D548E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080510
muted
#7B7A7F

Preview Lab

Preview with #242B82

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

Preview Lab → · Contrast checker → · Palette generator →

#242B82 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva