#242F83#242F83

#242F83 is a dark, vivid blue. Relative luminance 0.040; OKLCH L 35.3% C 0.140 H 271.4°. Best body text is #FFFFFF at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#242F83
RGBrgb(36, 47, 131)
HSLhsl(233, 57%, 33%)
HSVhsv(233, 73%, 51%)
CMYKcmyk(72.5%, 64.1%, 0%, 48.6%)
CIE-LABlab(23.82, 25.64, -48.59)
CIE-LCHlch(23.82, 54.94, 297.82°)
OKLaboklab(35.35% 0.0035 -0.1403)
OKLCHoklch(35.35% 0.14 271.4)
XYZxyz(5.8394, 4.0462, 21.9416)
Luminance0.0405 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242F83 #837824
analogous
#245E83 #242F83 #492483
triadic
#242F83 #83242F #2F8324
tetradic
#242F83 #83245E #837824 #248349
square
#242F83 #83245E #837824 #248349
split-complementary
#242F83 #834924 #5E8324
monochromatic
#0A0D23 #171E53 #242F83 #3140B3 #5260CF

Accessibility & contrast

On white

11.61
#242F83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.81
#242F83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242F83
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242F83#FFFFFF#000000##FFFFFF
##242F831.0011.611.8111.61
#FFFFFF11.611.0021.001.00
#0000001.8121.001.0021.00
##FFFFFF11.611.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #242f83;
/* rgb */ color: rgb(36, 47, 131);
/* oklch */ color: oklch(35.3% 0.140 271.4);
Tailwind
colors: {
  custom: {
    50: '#6d67a8',
    500: '#242f83',
    950: '#000000',
  },
}
SCSS
$custom: #242f83;
$custom-light: #6d67a8;
$custom-dark: #000000;
JSON
{
  "hex": "#242f83",
  "rgb": {
    "r": 36,
    "g": 47,
    "b": 131
  },
  "hsl": {
    "h": 233.053,
    "s": 56.886,
    "l": 32.745
  },
  "oklch": {
    "l": 0.35347,
    "c": 0.14031,
    "h": 271.4
  },
  "luminance": 0.04047
}

Semantic roles & 50–950 ramp

primary
#242F83
secondary
#B3A84F
accent
#CE48E0
background
#F7F6FA
surface
#EDEBF4
border
#C8C6CE
text
#080610
muted
#7B7A7F

Preview Lab

Preview with #242F83

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

Preview Lab → · Contrast checker → · Palette generator →

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