#0F2E5A#0F2E5A

#0F2E5A is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.5% C 0.087 H 257.8°. Best body text is #FFFFFF at 13.47:1 contrast (WCAG AA passes).

Color values

HEX#0F2E5A
RGBrgb(15, 46, 90)
HSLhsl(215, 71%, 21%)
HSVhsv(215, 83%, 35%)
CMYKcmyk(83.3%, 48.9%, 0%, 64.7%)
CIE-LABlab(19.20, 6.63, -29.70)
CIE-LCHlch(19.20, 30.44, 282.59°)
OKLaboklab(30.54% -0.0184 -0.0852)
OKLCHoklch(30.54% 0.087 257.8)
XYZxyz(3.0188, 2.7934, 10.0510)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E5A #5A3B0F
analogous
#0F535A #0F2E5A #150F5A
triadic
#0F2E5A #5A0F2E #2E5A0F
tetradic
#0F2E5A #5A0F53 #5A3B0F #0F5A15
square
#0F2E5A #5A0F53 #5A3B0F #0F5A15
split-complementary
#0F2E5A #5A150F #535A0F
monochromatic
#040D1A #061326 #0F2E5A #18498E #2064C3

Accessibility & contrast

On white

13.47
#0F2E5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #0F2E5A
13.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E5A#FFFFFF#000000##FFFFFF
##0F2E5A1.0013.471.5613.47
#FFFFFF13.471.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#17325C
Deuteranopia (green-blind)
#062B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2e5a;
/* rgb */ color: rgb(15, 46, 90);
/* oklch */ color: oklch(30.5% 0.087 257.8);
Tailwind
colors: {
  custom: {
    50: '#5a6689',
    500: '#0f2e5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e5a;
$custom-light: #5a6689;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e5a",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 215.2,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30537,
    "c": 0.08715,
    "h": 257.8
  },
  "luminance": 0.02794
}

Semantic roles & 50–950 ramp

primary
#0F2E5A
secondary
#946B31
accent
#A43AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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