#0F2D5A#0F2D5A

#0F2D5A is a dark, moderate blue. Relative luminance 0.027; OKLCH L 30.3% C 0.088 H 258.6°. Best body text is #FFFFFF at 13.61:1 contrast (WCAG AA passes).

Color values

HEX#0F2D5A
RGBrgb(15, 45, 90)
HSLhsl(216, 71%, 21%)
HSVhsv(216, 83%, 35%)
CMYKcmyk(83.3%, 50%, 0%, 64.7%)
CIE-LABlab(18.87, 7.37, -30.23)
CIE-LCHlch(18.87, 31.11, 283.70°)
OKLaboklab(30.28% -0.0174 -0.0868)
OKLCHoklch(30.28% 0.088 258.6)
XYZxyz(2.9802, 2.7162, 10.0381)
Luminance0.0272 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D5A #5A3C0F
analogous
#0F525A #0F2D5A #160F5A
triadic
#0F2D5A #5A0F2D #2D5A0F
tetradic
#0F2D5A #5A0F52 #5A3C0F #0F5A16
square
#0F2D5A #5A0F52 #5A3C0F #0F5A16
split-complementary
#0F2D5A #5A160F #525A0F
monochromatic
#040D1A #061326 #0F2D5A #18478E #2061C3

Accessibility & contrast

On white

13.61
#0F2D5A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#0F2D5A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D5A
13.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D5A#FFFFFF#000000##FFFFFF
##0F2D5A1.0013.611.5413.61
#FFFFFF13.611.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15325C
Deuteranopia (green-blind)
#032B59
Tritanopia (blue-blind)
#00383F
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #0f2d5a;
/* rgb */ color: rgb(15, 45, 90);
/* oklch */ color: oklch(30.3% 0.088 258.6);
Tailwind
colors: {
  custom: {
    50: '#5b6589',
    500: '#0f2d5a',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d5a;
$custom-light: #5b6589;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d5a",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 216,
    "s": 71.429,
    "l": 20.588
  },
  "oklch": {
    "l": 0.30284,
    "c": 0.08849,
    "h": 258.6
  },
  "luminance": 0.02717
}

Semantic roles & 50–950 ramp

primary
#0F2D5A
secondary
#946C31
accent
#A63AEE
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050B
muted
#797A7C

Preview Lab

Preview with #0F2D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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