#250C3E#250C3E

#250C3E is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.7% C 0.090 H 302.5°. Best body text is #FFFFFF at 17.49:1 contrast (WCAG AA passes).

Color values

HEX#250C3E
RGBrgb(37, 12, 62)
HSLhsl(270, 68%, 15%)
HSVhsv(270, 81%, 24%)
CMYKcmyk(40.3%, 80.6%, 0%, 75.7%)
CIE-LABlab(9.03, 24.50, -26.80)
CIE-LCHlch(9.03, 36.31, 312.44°)
OKLaboklab(22.66% 0.0487 -0.0763)
OKLCHoklch(22.66% 0.091 302.5)
XYZxyz(1.7637, 1.0041, 4.6574)
Luminance0.0100 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#250C3E #253E0C
analogous
#0C0C3E #250C3E #3E0C3E
triadic
#250C3E #3E250C #0C3E25
tetradic
#250C3E #3E0C0C #253E0C #0C3E3E
square
#250C3E #3E0C0C #253E0C #0C3E3E
split-complementary
#250C3E #3E3E0C #0C3E0C
monochromatic
#0F051A #0F051A #250C3E #441671 #6220A5

Accessibility & contrast

On white

17.49
#250C3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#250C3E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #250C3E
17.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##250C3E#FFFFFF#000000##FFFFFF
##250C3E1.0017.491.2017.49
#FFFFFF17.491.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#00193D
Tritanopia (blue-blind)
#201824
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #250c3e;
/* rgb */ color: rgb(37, 12, 62);
/* oklch */ color: oklch(22.7% 0.090 302.5);
Tailwind
colors: {
  custom: {
    50: '#624d74',
    500: '#250c3e',
    950: '#000000',
  },
}
SCSS
$custom: #250c3e;
$custom-light: #624d74;
$custom-dark: #000000;
JSON
{
  "hex": "#250c3e",
  "rgb": {
    "r": 37,
    "g": 12,
    "b": 62
  },
  "hsl": {
    "h": 270,
    "s": 67.568,
    "l": 14.51
  },
  "oklch": {
    "l": 0.22661,
    "c": 0.0905,
    "h": 302.5
  },
  "luminance": 0.01004
}

Semantic roles & 50–950 ramp

primary
#250C3E
secondary
#537A2C
accent
#EA3D94
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#050108
muted
#7A777B

Preview Lab

Preview with #250C3E

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

Preview Lab → · Contrast checker → · Palette generator →

#250C3E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva