#0F254D#0F254D

#0F254D is a dark, moderate blue. Relative luminance 0.020; OKLCH L 27.2% C 0.079 H 261.2°. Best body text is #FFFFFF at 15.08:1 contrast (WCAG AA passes).

Color values

HEX#0F254D
RGBrgb(15, 37, 77)
HSLhsl(219, 67%, 18%)
HSVhsv(219, 81%, 30%)
CMYKcmyk(80.5%, 51.9%, 0%, 69.8%)
CIE-LABlab(15.28, 7.63, -27.26)
CIE-LCHlch(15.28, 28.30, 285.63°)
OKLaboklab(27.21% -0.0121 -0.0782)
OKLCHoklch(27.21% 0.079 261.2)
XYZxyz(2.1976, 1.9603, 7.2823)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F254D #4D370F
analogous
#0F444D #0F254D #180F4D
triadic
#0F254D #4D0F25 #254D0F
tetradic
#0F254D #4D0F44 #4D370F #0F4D18
square
#0F254D #4D0F44 #4D370F #0F4D18
split-complementary
#0F254D #4D180F #444D0F
monochromatic
#050C1A #050C1A #0F254D #193E80 #2356B3

Accessibility & contrast

On white

15.08
#0F254D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F254D
15.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F254D#FFFFFF#000000##FFFFFF
##0F254D1.0015.081.3915.08
#FFFFFF15.081.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#10294E
Deuteranopia (green-blind)
#02244C
Tritanopia (blue-blind)
#002E35
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #0f254d;
/* rgb */ color: rgb(15, 37, 77);
/* oklch */ color: oklch(27.2% 0.079 261.2);
Tailwind
colors: {
  custom: {
    50: '#575f7f',
    500: '#0f254d',
    950: '#000000',
  },
}
SCSS
$custom: #0f254d;
$custom-light: #575f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#0f254d",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 77
  },
  "hsl": {
    "h": 218.71,
    "s": 67.391,
    "l": 18.039
  },
  "oklch": {
    "l": 0.27212,
    "c": 0.07911,
    "h": 261.2
  },
  "luminance": 0.01961
}

Semantic roles & 50–950 ramp

primary
#0F254D
secondary
#876831
accent
#AD3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#04040A
muted
#79797C

Preview Lab

Preview with #0F254D

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

Preview Lab → · Contrast checker → · Palette generator →

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