#242983#242983

#242983 is a dark, vivid blue. Relative luminance 0.036; OKLCH L 34.2% C 0.148 H 273.1°. Best body text is #FFFFFF at 12.21:1 contrast (WCAG AA passes).

Color values

HEX#242983
RGBrgb(36, 41, 131)
HSLhsl(237, 57%, 33%)
HSVhsv(237, 73%, 51%)
CMYKcmyk(72.5%, 68.7%, 0%, 48.6%)
CIE-LABlab(22.30, 29.66, -51.09)
CIE-LCHlch(22.30, 59.08, 300.14°)
OKLaboklab(34.23% 0.0079 -0.1476)
OKLCHoklch(34.23% 0.148 273.1)
XYZxyz(5.6159, 3.5991, 21.8671)
Luminance0.0360 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242983 #837E24
analogous
#245883 #242983 #4E2483
triadic
#242983 #832429 #298324
tetradic
#242983 #832458 #837E24 #24834E
square
#242983 #832458 #837E24 #24834E
split-complementary
#242983 #834E24 #588324
monochromatic
#0A0B23 #171A53 #242983 #3138B3 #5259CF

Accessibility & contrast

On white

12.21
#242983 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #242983
12.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242983#FFFFFF#000000##FFFFFF
##2429831.0012.211.7212.21
#FFFFFF12.211.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A86
Deuteranopia (green-blind)
#003181
Tritanopia (blue-blind)
#004152
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242983;
/* rgb */ color: rgb(36, 41, 131);
/* oklch */ color: oklch(34.2% 0.148 273.1);
Tailwind
colors: {
  custom: {
    50: '#6d63a8',
    500: '#242983',
    950: '#000000',
  },
}
SCSS
$custom: #242983;
$custom-light: #6d63a8;
$custom-dark: #000000;
JSON
{
  "hex": "#242983",
  "rgb": {
    "r": 36,
    "g": 41,
    "b": 131
  },
  "hsl": {
    "h": 236.842,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34231,
    "c": 0.14783,
    "h": 273.1
  },
  "luminance": 0.036
}

Semantic roles & 50–950 ramp

primary
#242983
secondary
#B3AE4F
accent
#D848E0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242983

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

Preview Lab → · Contrast checker → · Palette generator →

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