#254069#254069

#254069 is a dark, moderate blue. Relative luminance 0.051; OKLCH L 37.1% C 0.078 H 258.5°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#254069
RGBrgb(37, 64, 105)
HSLhsl(216, 48%, 28%)
HSVhsv(216, 65%, 41%)
CMYKcmyk(64.8%, 39%, 0%, 58.8%)
CIE-LABlab(26.96, 3.97, -27.05)
CIE-LCHlch(26.96, 27.34, 278.35°)
OKLaboklab(37.14% -0.0156 -0.0767)
OKLCHoklch(37.14% 0.078 258.5)
XYZxyz(5.1452, 5.0796, 14.0712)
Luminance0.0508 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#254069 #694E25
analogous
#256269 #254069 #2C2569
triadic
#254069 #692540 #406925
tetradic
#254069 #692562 #694E25 #25692C
square
#254069 #692562 #694E25 #25692C
split-complementary
#254069 #692C25 #626925
monochromatic
#080E17 #15243C #254069 #355C96 #4978BF

Accessibility & contrast

On white

10.42
#254069 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#254069 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #254069
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##254069#FFFFFF#000000##FFFFFF
##2540691.0010.422.0210.42
#FFFFFF10.421.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E436B
Deuteranopia (green-blind)
#253D68
Tritanopia (blue-blind)
#00494F
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #254069;
/* rgb */ color: rgb(37, 64, 105);
/* oklch */ color: oklch(37.1% 0.078 258.5);
Tailwind
colors: {
  custom: {
    50: '#677494',
    500: '#254069',
    950: '#000000',
  },
}
SCSS
$custom: #254069;
$custom-light: #677494;
$custom-dark: #000000;
JSON
{
  "hex": "#254069",
  "rgb": {
    "r": 37,
    "g": 64,
    "b": 105
  },
  "hsl": {
    "h": 216.176,
    "s": 47.887,
    "l": 27.843
  },
  "oklch": {
    "l": 0.37141,
    "c": 0.07828,
    "h": 258.5
  },
  "luminance": 0.0508
}

Semantic roles & 50–950 ramp

primary
#254069
secondary
#9C7D4E
accent
#A250D7
background
#F6F7F9
surface
#EBEDF1
border
#C6C8CB
text
#06080D
muted
#7A7B7E

Preview Lab

Preview with #254069

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

Preview Lab → · Contrast checker → · Palette generator →

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