#242B83#242B83

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

Color values

HEX#242B83
RGBrgb(36, 43, 131)
HSLhsl(236, 57%, 33%)
HSVhsv(236, 73%, 51%)
CMYKcmyk(72.5%, 67.2%, 0%, 48.6%)
CIE-LABlab(22.80, 28.34, -50.27)
CIE-LCHlch(22.80, 57.71, 299.41°)
OKLaboklab(34.59% 0.0065 -0.1452)
OKLCHoklch(34.59% 0.145 272.6)
XYZxyz(5.6868, 3.7410, 21.8907)
Luminance0.0374 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B83 #837C24
analogous
#245A83 #242B83 #4C2483
triadic
#242B83 #83242B #2B8324
tetradic
#242B83 #83245A #837C24 #24834C
square
#242B83 #83245A #837C24 #24834C
split-complementary
#242B83 #834C24 #5A8324
monochromatic
#0A0B23 #171B53 #242B83 #313BB3 #525BCF

Accessibility & contrast

On white

12.01
#242B83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#242B83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B83
12.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B83#FFFFFF#000000##FFFFFF
##242B831.0012.011.7512.01
#FFFFFF12.011.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B86
Deuteranopia (green-blind)
#003281
Tritanopia (blue-blind)
#004253
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #242b83;
/* rgb */ color: rgb(36, 43, 131);
/* oklch */ color: oklch(34.6% 0.145 272.6);
Tailwind
colors: {
  custom: {
    50: '#6d64a8',
    500: '#242b83',
    950: '#000000',
  },
}
SCSS
$custom: #242b83;
$custom-light: #6d64a8;
$custom-dark: #000000;
JSON
{
  "hex": "#242b83",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 131
  },
  "hsl": {
    "h": 235.579,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.34593,
    "c": 0.14538,
    "h": 272.6
  },
  "luminance": 0.03742
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #242B83

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

Preview Lab → · Contrast checker → · Palette generator →

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