#242B4E#242B4E

#242B4E is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.1% C 0.064 H 273.4°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#242B4E
RGBrgb(36, 43, 78)
HSLhsl(230, 37%, 22%)
HSVhsv(230, 54%, 31%)
CMYKcmyk(53.8%, 44.9%, 0%, 69.4%)
CIE-LABlab(18.60, 8.30, -22.56)
CIE-LCHlch(18.60, 24.04, 290.19°)
OKLaboklab(30.13% 0.0038 -0.0638)
OKLCHoklch(30.13% 0.064 273.4)
XYZxyz(2.9661, 2.6527, 7.5620)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#242B4E #4E4724
analogous
#24404E #242B4E #32244E
triadic
#242B4E #4E242B #2B4E24
tetradic
#242B4E #4E2440 #4E4724 #244E32
square
#242B4E #4E2440 #4E4724 #244E32
split-complementary
#242B4E #4E3224 #404E24
monochromatic
#0A0C15 #111424 #242B4E #374278 #4B59A2

Accessibility & contrast

On white

13.72
#242B4E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#242B4E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #242B4E
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##242B4E#FFFFFF#000000##FFFFFF
##242B4E1.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2F4F
Deuteranopia (green-blind)
#192C4D
Tritanopia (blue-blind)
#133238
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #242b4e;
/* rgb */ color: rgb(36, 43, 78);
/* oklch */ color: oklch(30.1% 0.064 273.4);
Tailwind
colors: {
  custom: {
    50: '#626480',
    500: '#242b4e',
    950: '#000000',
  },
}
SCSS
$custom: #242b4e;
$custom-light: #626480;
$custom-dark: #000000;
JSON
{
  "hex": "#242b4e",
  "rgb": {
    "r": 36,
    "g": 43,
    "b": 78
  },
  "hsl": {
    "h": 230,
    "s": 36.842,
    "l": 22.353
  },
  "oklch": {
    "l": 0.3013,
    "c": 0.06395,
    "h": 273.4
  },
  "luminance": 0.02653
}

Semantic roles & 50–950 ramp

primary
#242B4E
secondary
#81794C
accent
#BA5BCD
background
#F5F5F7
surface
#EAEAEE
border
#C6C6C9
text
#05050A
muted
#79797C

Preview Lab

Preview with #242B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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