#0F254F#0F254F

#0F254F is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.4% C 0.082 H 261.8°. Best body text is #FFFFFF at 15.02:1 contrast (WCAG AA passes).

Color values

HEX#0F254F
RGBrgb(15, 37, 79)
HSLhsl(219, 68%, 18%)
HSVhsv(219, 81%, 31%)
CMYKcmyk(81%, 53.2%, 0%, 69%)
CIE-LABlab(15.43, 8.50, -28.37)
CIE-LCHlch(15.43, 29.62, 286.68°)
OKLaboklab(27.38% -0.0117 -0.0815)
OKLCHoklch(27.38% 0.082 261.8)
XYZxyz(2.2693, 1.9890, 7.6599)
Luminance0.0199 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F254F #4F390F
analogous
#0F454F #0F254F #190F4F
triadic
#0F254F #4F0F25 #254F0F
tetradic
#0F254F #4F0F45 #4F390F #0F4F19
square
#0F254F #4F0F45 #4F390F #0F4F19
split-complementary
#0F254F #4F190F #454F0F
monochromatic
#050C1A #050D1C #0F254F #193D82 #2355B6

Accessibility & contrast

On white

15.02
#0F254F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#0F254F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F254F
15.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F254F#FFFFFF#000000##FFFFFF
##0F254F1.0015.021.4015.02
#FFFFFF15.021.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2A51
Deuteranopia (green-blind)
#00244E
Tritanopia (blue-blind)
#002F36
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #0f254f;
/* rgb */ color: rgb(15, 37, 79);
/* oklch */ color: oklch(27.4% 0.082 261.8);
Tailwind
colors: {
  custom: {
    50: '#585f81',
    500: '#0f254f',
    950: '#000000',
  },
}
SCSS
$custom: #0f254f;
$custom-light: #585f81;
$custom-dark: #000000;
JSON
{
  "hex": "#0f254f",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 79
  },
  "hsl": {
    "h": 219.375,
    "s": 68.085,
    "l": 18.431
  },
  "oklch": {
    "l": 0.27377,
    "c": 0.08231,
    "h": 261.8
  },
  "luminance": 0.01989
}

Semantic roles & 50–950 ramp

primary
#0F254F
secondary
#896B31
accent
#AF3DEB
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F254F

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

Preview Lab → · Contrast checker → · Palette generator →

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