#0A254E#0A254E

#0A254E is a dark, moderate blue. Relative luminance 0.019; OKLCH L 27.1% C 0.082 H 258.9°. Best body text is #FFFFFF at 15.13:1 contrast (WCAG AA passes).

Color values

HEX#0A254E
RGBrgb(10, 37, 78)
HSLhsl(216, 77%, 17%)
HSVhsv(216, 87%, 31%)
CMYKcmyk(87.2%, 52.6%, 0%, 69.4%)
CIE-LABlab(15.16, 7.36, -28.14)
CIE-LCHlch(15.16, 29.09, 284.66°)
OKLaboklab(27.09% -0.0159 -0.0809)
OKLCHoklch(27.09% 0.082 258.9)
XYZxyz(2.1614, 1.9375, 7.4663)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A254E #4E330A
analogous
#0A474E #0A254E #110A4E
triadic
#0A254E #4E0A25 #254E0A
tetradic
#0A254E #4E0A47 #4E330A #0A4E11
square
#0A254E #4E0A47 #4E330A #0A4E11
split-complementary
#0A254E #4E110A #474E0A
monochromatic
#030D1B #030D1B #0A254E #113F84 #1858BA

Accessibility & contrast

On white

15.13
#0A254E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#0A254E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A254E
15.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A254E#FFFFFF#000000##FFFFFF
##0A254E1.0015.131.3915.13
#FFFFFF15.131.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E2950
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#002F35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0a254e;
/* rgb */ color: rgb(10, 37, 78);
/* oklch */ color: oklch(27.1% 0.082 258.9);
Tailwind
colors: {
  custom: {
    50: '#565e80',
    500: '#0a254e',
    950: '#000000',
  },
}
SCSS
$custom: #0a254e;
$custom-light: #565e80;
$custom-dark: #000000;
JSON
{
  "hex": "#0a254e",
  "rgb": {
    "r": 10,
    "g": 37,
    "b": 78
  },
  "hsl": {
    "h": 216.176,
    "s": 77.273,
    "l": 17.255
  },
  "oklch": {
    "l": 0.27087,
    "c": 0.08242,
    "h": 258.9
  },
  "luminance": 0.01938
}

Semantic roles & 50–950 ramp

primary
#0A254E
secondary
#8B6429
accent
#A834F4
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0A254E

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

Preview Lab → · Contrast checker → · Palette generator →

#0A254E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva