#242BA0#242BA0

#242BA0 is a dark, vivid blue. Relative luminance 0.046; OKLCH L 37.6% C 0.184 H 271.0°. Best body text is #FFFFFF at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#242BA0
RGBrgb(36, 43, 160)
HSLhsl(237, 63%, 38%)
HSVhsv(237, 78%, 63%)
CMYKcmyk(77.5%, 73.1%, 0%, 37.3%)
CIE-LABlab(25.68, 38.85, -63.46)
CIE-LCHlch(25.68, 74.41, 301.48°)
OKLaboklab(37.55% 0.0031 -0.1837)
OKLCHoklch(37.55% 0.184 271)
XYZxyz(7.9344, 4.6400, 33.7283)
Luminance0.0464 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242BA0 #A09924
analogous
#2469A0 #242BA0 #5B24A0
triadic
#242BA0 #A0242B #2BA024
tetradic
#242BA0 #A02469 #A09924 #24A05B
square
#242BA0 #A02469 #A09924 #24A05B
split-complementary
#242BA0 #A05B24 #69A024
monochromatic
#0E103C #191E6E #242BA0 #313AD1 #6369DC

Accessibility & contrast

On white

10.89
#242BA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.93
#242BA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242BA0
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242BA0#FFFFFF#000000##FFFFFF
##242BA01.0010.891.9310.89
#FFFFFF10.891.0021.001.00
#0000001.9321.001.0021.00
##FFFFFF10.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0043A3
Deuteranopia (green-blind)
#00379E
Tritanopia (blue-blind)
#004C63
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #242ba0;
/* rgb */ color: rgb(36, 43, 160);
/* oklch */ color: oklch(37.6% 0.184 271.0);
Tailwind
colors: {
  custom: {
    50: '#7465bd',
    500: '#242ba0',
    950: '#000000',
  },
}
SCSS
$custom: #242ba0;
$custom-light: #7465bd;
$custom-dark: #000000;
JSON
{
  "hex": "#242ba0",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 160
  },
  "hsl": {
    "h": 236.613,
    "s": 63.265,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37554,
    "c": 0.18375,
    "h": 271
  },
  "luminance": 0.04641
}

Semantic roles & 50–950 ramp

primary
#242BA0
secondary
#C1BC5F
accent
#DD41E6
background
#F7F6FB
surface
#EEEBF7
border
#C9C6D0
text
#0A0612
muted
#7C7A81

Preview Lab

Preview with #242BA0

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

Preview Lab → · Contrast checker → · Palette generator →

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