#1E265F#1E265F

#1E265F is a dark, moderate blue. Relative luminance 0.025; OKLCH L 29.9% C 0.101 H 272.7°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#1E265F
RGBrgb(30, 38, 95)
HSLhsl(233, 52%, 25%)
HSVhsv(233, 68%, 37%)
CMYKcmyk(68.4%, 60%, 0%, 62.7%)
CIE-LABlab(17.87, 17.04, -35.13)
CIE-LCHlch(17.87, 39.04, 295.87°)
OKLaboklab(29.86% 0.0047 -0.101)
OKLCHoklch(29.86% 0.101 272.7)
XYZxyz(3.2934, 2.4882, 11.1310)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#1E265F #5F571E
analogous
#1E475F #1E265F #371E5F
triadic
#1E265F #5F1E26 #265F1E
tetradic
#1E265F #5F1E47 #5F571E #1E5F37
square
#1E265F #5F1E47 #5F571E #1E5F37
split-complementary
#1E265F #5F371E #475F1E
monochromatic
#070917 #0F1330 #1E265F #2D398E #3B4BBC

Accessibility & contrast

On white

14.02
#1E265F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#1E265F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #1E265F
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##1E265F#FFFFFF#000000##FFFFFF
##1E265F1.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F61
Deuteranopia (green-blind)
#00295E
Tritanopia (blue-blind)
#00343E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #1e265f;
/* rgb */ color: rgb(30, 38, 95);
/* oklch */ color: oklch(29.9% 0.101 272.7);
Tailwind
colors: {
  custom: {
    50: '#62608d',
    500: '#1e265f',
    950: '#000000',
  },
}
SCSS
$custom: #1e265f;
$custom-light: #62608d;
$custom-dark: #000000;
JSON
{
  "hex": "#1e265f",
  "rgb": {
    "r": 30,
    "g": 38,
    "b": 95
  },
  "hsl": {
    "h": 232.615,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29856,
    "c": 0.10108,
    "h": 272.7
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#1E265F
secondary
#948A45
accent
#CA4CDB
background
#F6F5F8
surface
#EBE9F0
border
#C6C5CB
text
#06040C
muted
#7A797D

Preview Lab

Preview with #1E265F

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

Preview Lab → · Contrast checker → · Palette generator →

#1E265F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva