#0F2E63#0F2E63

#0F2E63 is a dark, moderate blue. Relative luminance 0.030; OKLCH L 31.3% C 0.101 H 260.4°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#0F2E63
RGBrgb(15, 46, 99)
HSLhsl(218, 74%, 22%)
HSVhsv(218, 85%, 39%)
CMYKcmyk(84.8%, 53.5%, 0%, 61.2%)
CIE-LABlab(19.87, 10.56, -34.56)
CIE-LCHlch(19.87, 36.13, 286.99°)
OKLaboklab(31.27% -0.0168 -0.0995)
OKLCHoklch(31.27% 0.101 260.4)
XYZxyz(3.4253, 2.9560, 12.1920)
Luminance0.0296 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0F2E63 #63440F
analogous
#0F5863 #0F2E63 #1A0F63
triadic
#0F2E63 #630F2E #2E630F
tetradic
#0F2E63 #630F58 #63440F #0F631A
square
#0F2E63 #630F58 #63440F #0F631A
split-complementary
#0F2E63 #631A0F #58630F
monochromatic
#040C1B #07152E #0F2E63 #174798 #1F5FCD

Accessibility & contrast

On white

13.20
#0F2E63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#0F2E63 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0F2E63
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0F2E63#FFFFFF#000000##FFFFFF
##0F2E631.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3465
Deuteranopia (green-blind)
#002C62
Tritanopia (blue-blind)
#003B43
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #0f2e63;
/* rgb */ color: rgb(15, 46, 99);
/* oklch */ color: oklch(31.3% 0.101 260.4);
Tailwind
colors: {
  custom: {
    50: '#5d6690',
    500: '#0f2e63',
    950: '#000000',
  },
}
SCSS
$custom: #0f2e63;
$custom-light: #5d6690;
$custom-dark: #000000;
JSON
{
  "hex": "#0f2e63",
  "rgb": {
    "r": 15,
    "g": 46,
    "b": 99
  },
  "hsl": {
    "h": 217.857,
    "s": 73.684,
    "l": 22.353
  },
  "oklch": {
    "l": 0.31266,
    "c": 0.10087,
    "h": 260.4
  },
  "luminance": 0.02956
}

Semantic roles & 50–950 ramp

primary
#0F2E63
secondary
#9C7532
accent
#AC37F0
background
#F5F6F8
surface
#EAEBF0
border
#C6C6CB
text
#05050C
muted
#797A7D

Preview Lab

Preview with #0F2E63

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

Preview Lab → · Contrast checker → · Palette generator →

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