#0F2D6E#0F2D6E

#0F2D6E is a dark, moderate blue. Relative luminance 0.031; OKLCH L 32.0% C 0.119 H 262.9°. Best body text is #FFFFFF at 12.96:1 contrast (WCAG AA passes).

Color values

HEX#0F2D6E
RGBrgb(15, 45, 110)
HSLhsl(221, 76%, 25%)
HSVhsv(221, 86%, 43%)
CMYKcmyk(86.4%, 59.1%, 0%, 56.9%)
CIE-LABlab(20.45, 16.04, -40.76)
CIE-LCHlch(20.45, 43.81, 291.49°)
OKLaboklab(32% -0.0147 -0.1177)
OKLCHoklch(32% 0.119 262.9)
XYZxyz(3.9489, 3.1036, 15.1398)
Luminance0.0310 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2D6E #6E500F
analogous
#0F5D6E #0F2D6E #210F6E
triadic
#0F2D6E #6E0F2D #2D6E0F
tetradic
#0F2D6E #6E0F5D #6E500F #0F6E21
square
#0F2D6E #6E0F5D #6E500F #0F6E21
split-complementary
#0F2D6E #6E210F #5D6E0F
monochromatic
#040B1B #081738 #0F2D6E #1643A4 #1E59DA

Accessibility & contrast

On white

12.96
#0F2D6E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#0F2D6E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2D6E
12.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2D6E#FFFFFF#000000##FFFFFF
##0F2D6E1.0012.961.6212.96
#FFFFFF12.961.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003670
Deuteranopia (green-blind)
#002D6D
Tritanopia (blue-blind)
#003D48
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #0f2d6e;
/* rgb */ color: rgb(15, 45, 110);
/* oklch */ color: oklch(32.0% 0.119 262.9);
Tailwind
colors: {
  custom: {
    50: '#606598',
    500: '#0f2d6e',
    950: '#000000',
  },
}
SCSS
$custom: #0f2d6e;
$custom-light: #606598;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2d6e",
  "rgb": {
    "r": 15,
    "g": 45,
    "b": 110
  },
  "hsl": {
    "h": 221.053,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.31996,
    "c": 0.11866,
    "h": 262.9
  },
  "luminance": 0.03104
}

Semantic roles & 50–950 ramp

primary
#0F2D6E
secondary
#A68233
accent
#B735F3
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06050E
muted
#7A7A7E

Preview Lab

Preview with #0F2D6E

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

Preview Lab → · Contrast checker → · Palette generator →

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