#242E83#242E83

#242E83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.2% C 0.142 H 271.7°. Best body text is #FFFFFF at 11.71:1 contrast (WCAG AA passes).

Color values

HEX#242E83
RGBrgb(36, 46, 131)
HSLhsl(234, 57%, 33%)
HSVhsv(234, 73%, 51%)
CMYKcmyk(72.5%, 64.9%, 0%, 48.6%)
CIE-LABlab(23.56, 26.32, -49.02)
CIE-LCHlch(23.56, 55.64, 298.23°)
OKLaboklab(35.15% 0.0043 -0.1415)
OKLCHoklch(35.15% 0.142 271.7)
XYZxyz(5.7999, 3.9672, 21.9284)
Luminance0.0397 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242E83 #837924
analogous
#245E83 #242E83 #492483
triadic
#242E83 #83242E #2E8324
tetradic
#242E83 #83245E #837924 #248349
square
#242E83 #83245E #837924 #248349
split-complementary
#242E83 #834924 #5E8324
monochromatic
#0A0C23 #171D53 #242E83 #313FB3 #525FCF

Accessibility & contrast

On white

11.71
#242E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#242E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242E83
11.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242E83#FFFFFF#000000##FFFFFF
##242E831.0011.711.7911.71
#FFFFFF11.711.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D86
Deuteranopia (green-blind)
#003481
Tritanopia (blue-blind)
#004454
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #242e83;
/* rgb */ color: rgb(36, 46, 131);
/* oklch */ color: oklch(35.2% 0.142 271.7);
Tailwind
colors: {
  custom: {
    50: '#6d66a8',
    500: '#242e83',
    950: '#000000',
  },
}
SCSS
$custom: #242e83;
$custom-light: #6d66a8;
$custom-dark: #000000;
JSON
{
  "hex": "#242e83",
  "rgb": {
    "r": 36,
    "g": 46,
    "b": 131
  },
  "hsl": {
    "h": 233.684,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35155,
    "c": 0.14159,
    "h": 271.7
  },
  "luminance": 0.03968
}

Semantic roles & 50–950 ramp

primary
#242E83
secondary
#B3A94F
accent
#D048E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242E83

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

Preview Lab → · Contrast checker → · Palette generator →

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