#0A254C#0A254C

#0A254C is a dark, moderate blue. Relative luminance 0.019; OKLCH L 26.9% C 0.079 H 258.2°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#0A254C
RGBrgb(10, 37, 76)
HSLhsl(215, 77%, 17%)
HSVhsv(215, 87%, 30%)
CMYKcmyk(86.8%, 51.3%, 0%, 70.2%)
CIE-LABlab(15.00, 6.46, -27.02)
CIE-LCHlch(15.00, 27.79, 283.45°)
OKLaboklab(26.92% -0.0163 -0.0776)
OKLCHoklch(26.92% 0.079 258.2)
XYZxyz(2.0908, 1.9092, 7.0944)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0A254C #4C310A
analogous
#0A464C #0A254C #100A4C
triadic
#0A254C #4C0A25 #254C0A
tetradic
#0A254C #4C0A46 #4C310A #0A4C10
square
#0A254C #4C0A46 #4C310A #0A4C10
split-complementary
#0A254C #4C100A #464C0A
monochromatic
#040D1B #040D1B #0A254C #113F82 #185AB8

Accessibility & contrast

On white

15.20
#0A254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#0A254C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0A254C
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0A254C#FFFFFF#000000##FFFFFF
##0A254C1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294D
Deuteranopia (green-blind)
#02234B
Tritanopia (blue-blind)
#002E34
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0a254c;
/* rgb */ color: rgb(10, 37, 76);
/* oklch */ color: oklch(26.9% 0.079 258.2);
Tailwind
colors: {
  custom: {
    50: '#555f7e',
    500: '#0a254c',
    950: '#000000',
  },
}
SCSS
$custom: #0a254c;
$custom-light: #555f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0a254c",
  "rgb": {
    "r": 10,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 215.455,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.26921,
    "c": 0.07927,
    "h": 258.2
  },
  "luminance": 0.01909
}

Semantic roles & 50–950 ramp

primary
#0A254C
secondary
#896229
accent
#A535F3
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0A254C

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

Preview Lab → · Contrast checker → · Palette generator →

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