#0F2E5B#0F2E5B

#0F2E5B is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.6% C 0.089 H 258.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#0F2E5B
RGBrgb(15, 46, 91)
HSLhsl(216, 72%, 21%)
HSVhsv(216, 84%, 36%)
CMYKcmyk(83.5%, 49.5%, 0%, 64.3%)
CIE-LABlab(19.27, 7.07, -30.25)
CIE-LCHlch(19.27, 31.07, 283.15°)
OKLaboklab(30.62% -0.0182 -0.0868)
OKLCHoklch(30.62% 0.089 258.2)
XYZxyz(3.0616, 2.8105, 10.2766)
Luminance0.0281 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E5B #5B3C0F
analogous
#0F545B #0F2E5B #160F5B
triadic
#0F2E5B #5B0F2E #2E5B0F
tetradic
#0F2E5B #5B0F54 #5B3C0F #0F5B16
square
#0F2E5B #5B0F54 #5B3C0F #0F5B16
split-complementary
#0F2E5B #5B160F #545B0F
monochromatic
#040D1A #061326 #0F2E5B #184990 #2063C4

Accessibility & contrast

On white

13.44
#0F2E5B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#0F2E5B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E5B
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E5B#FFFFFF#000000##FFFFFF
##0F2E5B1.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#16325D
Deuteranopia (green-blind)
#052C5A
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2e5b;
/* rgb */ color: rgb(15, 46, 91);
/* oklch */ color: oklch(30.6% 0.089 258.2);
Tailwind
colors: {
  custom: {
    50: '#5b668a',
    500: '#0f2e5b',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e5b;
$custom-light: #5b668a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e5b",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 215.526,
    "s": 71.698,
    "l": 20.784
  },
  "oklch": {
    "l": 0.30615,
    "c": 0.08868,
    "h": 258.2
  },
  "luminance": 0.02811
}

Semantic roles & 50–950 ramp

primary
#0F2E5B
secondary
#956C31
accent
#A539EE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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