#0E2F6F#0E2F6F

#0E2F6F is a dark, moderate blue. Relative luminance 0.033; OKLCH L 32.5% C 0.118 H 261.8°. Best body text is #FFFFFF at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#0E2F6F
RGBrgb(14, 47, 111)
HSLhsl(220, 78%, 25%)
HSVhsv(220, 87%, 44%)
CMYKcmyk(87.4%, 57.7%, 0%, 56.5%)
CIE-LABlab(21.11, 14.92, -40.34)
CIE-LCHlch(21.11, 43.01, 290.29°)
OKLaboklab(32.51% -0.0167 -0.1165)
OKLCHoklch(32.51% 0.118 261.8)
XYZxyz(4.0658, 3.2736, 15.4534)
Luminance0.0327 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#0E2F6F #6F4E0E
analogous
#0E606F #0E2F6F #1E0E6F
triadic
#0E2F6F #6F0E2F #2F6F0E
tetradic
#0E2F6F #6F0E60 #6F4E0E #0E6F1E
square
#0E2F6F #6F0E60 #6F4E0E #0E6F1E
split-complementary
#0E2F6F #6F1E0E #606F0E
monochromatic
#030C1B #071839 #0E2F6F #1546A5 #1C5DDC

Accessibility & contrast

On white

12.69
#0E2F6F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#0E2F6F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #0E2F6F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##0E2F6F#FFFFFF#000000##FFFFFF
##0E2F6F1.0012.691.6512.69
#FFFFFF12.691.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003771
Deuteranopia (green-blind)
#002F6E
Tritanopia (blue-blind)
#003F4A
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #0e2f6f;
/* rgb */ color: rgb(14, 47, 111);
/* oklch */ color: oklch(32.5% 0.118 261.8);
Tailwind
colors: {
  custom: {
    50: '#606699',
    500: '#0e2f6f',
    950: '#000000',
  },
}
SCSS
$custom: #0e2f6f;
$custom-light: #606699;
$custom-dark: #000000;
JSON
{
  "hex": "#0e2f6f",
  "rgb": {
    "r": 14,
    "g": 47,
    "b": 111
  },
  "hsl": {
    "h": 219.588,
    "s": 77.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.32507,
    "c": 0.11768,
    "h": 261.8
  },
  "luminance": 0.03274
}

Semantic roles & 50–950 ramp

primary
#0E2F6F
secondary
#A77F32
accent
#B334F4
background
#F6F6F9
surface
#EBEBF2
border
#C6C6CC
text
#06060E
muted
#7A7A7E

Preview Lab

Preview with #0E2F6F

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

Preview Lab → · Contrast checker → · Palette generator →

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