#0F254C#0F254C

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

Color values

HEX#0F254C
RGBrgb(15, 37, 76)
HSLhsl(218, 67%, 18%)
HSVhsv(218, 80%, 30%)
CMYKcmyk(80.3%, 51.3%, 0%, 70.2%)
CIE-LABlab(15.20, 7.19, -26.69)
CIE-LCHlch(15.20, 27.64, 285.07°)
OKLaboklab(27.13% -0.0123 -0.0765)
OKLCHoklch(27.13% 0.078 260.9)
XYZxyz(2.1626, 1.9463, 7.0978)
Luminance0.0195 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F254C #4C360F
analogous
#0F434C #0F254C #180F4C
triadic
#0F254C #4C0F25 #254C0F
tetradic
#0F254C #4C0F43 #4C360F #0F4C18
square
#0F254C #4C0F43 #4C360F #0F4C18
split-complementary
#0F254C #4C180F #434C0F
monochromatic
#050C1A #050C1A #0F254C #193E7F #2357B2

Accessibility & contrast

On white

15.12
#0F254C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F254C
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F254C#FFFFFF#000000##FFFFFF
##0F254C1.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #0f254c;
/* rgb */ color: rgb(15, 37, 76);
/* oklch */ color: oklch(27.1% 0.078 260.9);
Tailwind
colors: {
  custom: {
    50: '#575f7e',
    500: '#0f254c',
    950: '#000000',
  },
}
SCSS
$custom: #0f254c;
$custom-light: #575f7e;
$custom-dark: #000000;
JSON
{
  "hex": "#0f254c",
  "rgb": {
    "r": 15,
    "g": 37,
    "b": 76
  },
  "hsl": {
    "h": 218.361,
    "s": 67.033,
    "l": 17.843
  },
  "oklch": {
    "l": 0.27131,
    "c": 0.07751,
    "h": 260.9
  },
  "luminance": 0.01946
}

Semantic roles & 50–950 ramp

primary
#0F254C
secondary
#866731
accent
#AC3EEA
background
#F5F5F7
surface
#E9E9EE
border
#C5C5C9
text
#03040A
muted
#78797C

Preview Lab

Preview with #0F254C

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

Preview Lab → · Contrast checker → · Palette generator →

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