#242883#242883

#242883 is a dark, vivid blue. Relative luminance 0.035; OKLCH L 34.1% C 0.149 H 273.3°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#242883
RGBrgb(36, 40, 131)
HSLhsl(237, 57%, 33%)
HSVhsv(237, 73%, 51%)
CMYKcmyk(72.5%, 69.5%, 0%, 48.6%)
CIE-LABlab(22.06, 30.32, -51.49)
CIE-LCHlch(22.06, 59.75, 300.49°)
OKLaboklab(34.05% 0.0086 -0.1488)
OKLCHoklch(34.05% 0.149 273.3)
XYZxyz(5.5817, 3.5308, 21.8557)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242883 #837F24
analogous
#245783 #242883 #502483
triadic
#242883 #832428 #288324
tetradic
#242883 #832457 #837F24 #248350
square
#242883 #832457 #837F24 #248350
split-complementary
#242883 #835024 #578324
monochromatic
#0A0B23 #171953 #242883 #3137B3 #5257CF

Accessibility & contrast

On white

12.31
#242883 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#242883 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242883
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242883#FFFFFF#000000##FFFFFF
##2428831.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003986
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#004052
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #242883;
/* rgb */ color: rgb(36, 40, 131);
/* oklch */ color: oklch(34.1% 0.149 273.3);
Tailwind
colors: {
  custom: {
    50: '#6d62a8',
    500: '#242883',
    950: '#000000',
  },
}
SCSS
$custom: #242883;
$custom-light: #6d62a8;
$custom-dark: #000000;
JSON
{
  "hex": "#242883",
  "rgb": {
    "r": 36,
    "g": 40,
    "b": 131
  },
  "hsl": {
    "h": 237.474,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34054,
    "c": 0.14905,
    "h": 273.3
  },
  "luminance": 0.03531
}

Semantic roles & 50–950 ramp

primary
#242883
secondary
#B3AF4F
accent
#DA48E0
background
#F7F5FA
surface
#EDEAF4
border
#C8C6CE
text
#080510
muted
#7B797F

Preview Lab

Preview with #242883

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

Preview Lab → · Contrast checker → · Palette generator →

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