#241875#241875

#241875 is a dark, vivid blue. Relative luminance 0.023; OKLCH L 30.0% C 0.148 H 278.4°. Best body text is #FFFFFF at 14.36:1 contrast (WCAG AA passes).

Color values

HEX#241875
RGBrgb(36, 24, 117)
HSLhsl(248, 66%, 28%)
HSVhsv(248, 79%, 46%)
CMYKcmyk(69.2%, 79.5%, 0%, 54.1%)
CIE-LABlab(17.05, 35.22, -50.82)
CIE-LCHlch(17.05, 61.83, 304.72°)
OKLaboklab(30.04% 0.0217 -0.1468)
OKLCHoklch(30.04% 0.148 278.4)
XYZxyz(4.2640, 2.3123, 17.0478)
Luminance0.0231 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#241875 #697518
analogous
#183A75 #241875 #521875
triadic
#241875 #752418 #187524
tetradic
#241875 #75183A #697518 #187552
square
#241875 #75183A #697518 #187552
split-complementary
#241875 #755218 #3A7518
monochromatic
#080519 #140E42 #241875 #3422A8 #4732D5

Accessibility & contrast

On white

14.36
#241875 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#241875 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #241875
14.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##241875#FFFFFF#000000##FFFFFF
##2418751.0014.361.4614.36
#FFFFFF14.361.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002673
Tritanopia (blue-blind)
#003346
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #241875;
/* rgb */ color: rgb(36, 24, 117);
/* oklch */ color: oklch(30.0% 0.148 278.4);
Tailwind
colors: {
  custom: {
    50: '#6c579e',
    500: '#241875',
    950: '#000000',
  },
}
SCSS
$custom: #241875;
$custom-light: #6c579e;
$custom-dark: #000000;
JSON
{
  "hex": "#241875",
  "rgb": {
    "r": 36,
    "g": 24,
    "b": 117
  },
  "hsl": {
    "h": 247.742,
    "s": 65.957,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30037,
    "c": 0.14837,
    "h": 278.4
  },
  "luminance": 0.02313
}

Semantic roles & 50–950 ramp

primary
#241875
secondary
#9CAA3F
accent
#E93FD3
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #241875

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

Preview Lab → · Contrast checker → · Palette generator →

#241875 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva