#0F245B#0F245B

#0F245B is a dark, moderate blue. Relative luminance 0.021; OKLCH L 28.2% C 0.103 H 264.7°. Best body text is #FFFFFF at 14.75:1 contrast (WCAG AA passes).

Color values

HEX#0F245B
RGBrgb(15, 36, 91)
HSLhsl(223, 72%, 21%)
HSVhsv(223, 84%, 36%)
CMYKcmyk(83.5%, 60.4%, 0%, 64.3%)
CIE-LABlab(16.10, 14.51, -35.38)
CIE-LCHlch(16.10, 38.24, 292.30°)
OKLaboklab(28.2% -0.0094 -0.1021)
OKLCHoklch(28.2% 0.103 264.7)
XYZxyz(2.7155, 2.1183, 10.1613)
Luminance0.0212 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F245B #5B460F
analogous
#0F4A5B #0F245B #200F5B
triadic
#0F245B #5B0F24 #245B0F
tetradic
#0F245B #5B0F4A #5B460F #0F5B20
square
#0F245B #5B0F4A #5B460F #0F5B20
split-complementary
#0F245B #5B200F #4A5B0F
monochromatic
#040A1A #060F26 #0F245B #183990 #204EC4

Accessibility & contrast

On white

14.75
#0F245B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#0F245B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F245B
14.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F245B#FFFFFF#000000##FFFFFF
##0F245B1.0014.751.4214.75
#FFFFFF14.751.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C5D
Deuteranopia (green-blind)
#00255A
Tritanopia (blue-blind)
#00323B
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #0f245b;
/* rgb */ color: rgb(15, 36, 91);
/* oklch */ color: oklch(28.2% 0.103 264.7);
Tailwind
colors: {
  custom: {
    50: '#5b5e8a',
    500: '#0f245b',
    950: '#000000',
  },
}
SCSS
$custom: #0f245b;
$custom-light: #5b5e8a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f245b",
  "rgb": {
    "r": 15,
    "g": 36,
    "b": 91
  },
  "hsl": {
    "h": 223.421,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.28196,
    "c": 0.10254,
    "h": 264.7
  },
  "luminance": 0.02119
}

Semantic roles & 50–950 ramp

primary
#0F245B
secondary
#957931
accent
#BC39EE
background
#F5F5F8
surface
#E9E9F0
border
#C5C5CB
text
#04040C
muted
#79797D

Preview Lab

Preview with #0F245B

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

Preview Lab → · Contrast checker → · Palette generator →

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