#0F2E5C#0F2E5C

#0F2E5C is a dark, moderate blue. Relative luminance 0.028; OKLCH L 30.7% C 0.090 H 258.5°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#0F2E5C
RGBrgb(15, 46, 92)
HSLhsl(216, 72%, 21%)
HSVhsv(216, 84%, 36%)
CMYKcmyk(83.7%, 50%, 0%, 63.9%)
CIE-LABlab(19.34, 7.51, -30.80)
CIE-LCHlch(19.34, 31.70, 283.70°)
OKLaboklab(30.7% -0.018 -0.0884)
OKLCHoklch(30.7% 0.09 258.5)
XYZxyz(3.1051, 2.8279, 10.5053)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E5C #5C3D0F
analogous
#0F545C #0F2E5C #160F5C
triadic
#0F2E5C #5C0F2E #2E5C0F
tetradic
#0F2E5C #5C0F54 #5C3D0F #0F5C16
square
#0F2E5C #5C0F54 #5C3D0F #0F5C16
split-complementary
#0F2E5C #5C160F #545C0F
monochromatic
#040D1A #061427 #0F2E5C #184891 #2063C5

Accessibility & contrast

On white

13.41
#0F2E5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#0F2E5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E5C
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E5C#FFFFFF#000000##FFFFFF
##0F2E5C1.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#15335E
Deuteranopia (green-blind)
#032C5B
Tritanopia (blue-blind)
#003940
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #0f2e5c;
/* rgb */ color: rgb(15, 46, 92);
/* oklch */ color: oklch(30.7% 0.090 258.5);
Tailwind
colors: {
  custom: {
    50: '#5b668a',
    500: '#0f2e5c',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e5c;
$custom-light: #5b668a;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e5c",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 215.844,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.30695,
    "c": 0.09022,
    "h": 258.5
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#0F2E5C
secondary
#956D31
accent
#A639EF
background
#F5F6F8
surface
#E9EBF0
border
#C5C6CB
text
#04050C
muted
#797A7D

Preview Lab

Preview with #0F2E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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